npm警告npm不支持Node.js v7.2.0,我尝试输入“npm卸载-g npm",但它不起作用,我如何修复它,谢谢you><
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npmcan't make any promises that npm will work with this ve
无论是从源代码构建,还是使用安装程序,我在尝试运行npm时都得到了一个未找到的命令。Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin: No such file or directory
安装程序运行得很流畅
基本上,给出的第一条指令是使用终端行sudo npm install -g node-dev全局安装node-dev包。不幸的是,这会产生一个错误: npm ERR!所以我想我应该试着完全删除并重新安装npm,从头开始(我以前用npm工作过一段时间,所以当时可能有些事情搞砸了)。几个月来,我尝试了几个npm教程,它们总是导致我永远不知道如何克服的错误,非常令人沮丧:( (错误日志,如果有帮助的话) 0 info it worked if it ends with ok
1 verbose
npx : The term 'npx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, At line:1 char:1+ ~~~
+ CategoryInfo