繁体   English   中英

npm安装错误CLI

[英]npm install error CLI

我正在尝试安装CLI。 我收到以下错误消息你们能告诉我如何解决这个问题。 Tks!

Tungs-MacBook-Pro:~ tungvu$ npm install -g --no-optional path_cli_file
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--no-optional" "path_cli_file"
npm ERR! node v7.2.0
npm ERR! npm  v3.10.9
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/path_cli_file
npm ERR! 404 
npm ERR! 404  'path_cli_file' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/tungvu/npm-debug.log

mfpdev-cli的文档中,您应该运行

npm install -g --no-optional mfpdev-cli

或者,如果您已经在本地下载了tar文件,则可以运行

npm install -g --no-optional /path/to/mfpdev-cli.tgz

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM