taro安装完成后运行报错

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev:h5: npm run build:h5 -- --watch
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev:h5 script.
npm ERR! This is probably not a problem with npm. There is likely additiona
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! D:\nodejs\node_cache_logs\2019-04-08T08_47_59_572Z-debug.log

taro安装完成后运行报错_第1张图片
image.png

npm run dev:h5报错解决办法,打开任务管理器,杀死进程所有node.exe


taro安装完成后运行报错_第2张图片
image.png

然后再run 一次就成功了。

你可能感兴趣的:(taro安装完成后运行报错)