如何安装node_modules?

时间:2020-03-12 12:14:51

标签: javascript node.js express vue.js npm

我使用了npm i命令在我的vue.js项目中安装了node_modules,但出现以下错误:

npm ERR! code E404   
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@fds%2flima-ticket-validator - Not found   
npm ERR! 404   
npm ERR! 404  '@fds/lima-ticket-validator@^2.0.0' 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 It was specified as a dependency of 'cef_frontend'   
npm ERR! 404   
npm ERR! 404 Note that you can also install from a   
npm ERR! 404 tarball, folder, http url, or git url.   

1 个答案:

答案 0 :(得分:0)

公共NPM注册表上不存在@fds/lima-ticket-validator软件包。这可能是您的公司内部注册机构托管的内部软件包吗?

您可能需要执行以下操作:

npm config set registry https://example.your-registry.com/

https://www.npmjs.com/package/@fds/lima-ticket-validator