美文网首页
安装wepy报错,执行npm run dev 报错,需要升级np

安装wepy报错,执行npm run dev 报错,需要升级np

作者: 文沐2023 | 来源:发表于2019-07-09 18:27 被阅读0次

npm ERR! Linux 3.10.0-693.2.2.el7.x86_64

npm ERR! argv "/usr/bin/node" "/bin/npm" "run" "dev"

npm ERR! node v6.17.1

npm ERR! npm  v3.10.10

npm ERR! code ELIFECYCLE

npm ERR! myrpoj2@0.0.1 dev: `wepy build --watch`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the myrpoj2@0.0.1 dev script 'wepy build --watch'.

npm ERR! Make sure you have the latest version of node.js and npm installed.

npm ERR! If you do, this is most likely a problem with the myrpoj2 package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR!    wepy build --watch

npm ERR! You can get information on how to open an issue for this project with:

npm ERR!    npm bugs myrpoj2

npm ERR! Or if that isn't available, you can get their info via:

npm ERR!    npm owner ls myrpoj2

npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

npm ERR!    /home/xiaochengxu/myrpoj2/npm-debug.log

发生以上报错

sudo npm install -g n

sudo n stable

或者

sudo n lts

查看nodejs版本

sudo n ls

使用版本号安装

sudo n 版本号

相关文章

网友评论

      本文标题:安装wepy报错,执行npm run dev 报错,需要升级np

      本文链接:https://www.haomeiwen.com/subject/twufkctx.html