开发者工具:Stable 1.05.2103190;操作系统:Mac;调试基础库:2.14.1;
node 环境问题
执行 node -v 正常
执行 npm -v 出现如下错误
wsq@Wsq-MBP applet % node -v
v10.14.2
wsq@Wsq-MBP applet % npm -v
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module '../lib/utils/unsupported.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at /usr/local/lib/node_modules/npm/bin/npm-cli.js:19:21
at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:153:3)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
重新安装一下试试
点击确定会重复弹框