We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
执行命令npm install --registry=https://registry.npm.taobao.org
npm install --registry=https://registry.npm.taobao.org
报错如下,不知道哪位遇到过
$ npm install --registry=https://registry.npm.taobao.org npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. > deasync@0.1.20 install D:\I_项目管理\vue-element-admin\node_modules\deasync > node ./build.js 'node' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\jest-haste-map\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! deasync@0.1.20 install: `node ./build.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the deasync@0.1.20 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
开始以为以为是node版本的问题 node由12.13.1 改为最新版 12.18.2 仍然是这个问题,错误提示node不是内部命令,但是我执行node -v也可以的 npm -v 也正常
node -v
npm -v
The text was updated successfully, but these errors were encountered:
设置 NPM cache目录 npm config set cache "C:\SoftWare\nodejs\npm_cache" 设置 NPM global目录 npm config set prefix "C:\SoftWare\nodejs\node_global"
Sorry, something went wrong.
No branches or pull requests
执行命令
npm install --registry=https://registry.npm.taobao.org
报错如下,不知道哪位遇到过
开始以为以为是node版本的问题 node由12.13.1 改为最新版 12.18.2 仍然是这个问题,错误提示node不是内部命令,但是我执行
node -v
也可以的npm -v
也正常The text was updated successfully, but these errors were encountered: