【发布时间】:2018-07-04 05:39:58
【问题描述】:
我在 package.json 文件中添加了这个:
"models-package": "git+https://<token_key>:x-oauth-basic@github.com/<username>/models-package.git"
当我运行npm install 时,它会说:
npm ERR! code ELOCKVERIFY
npm ERR! Errors were found in your package-lock.json, run npm install to fix them.
npm ERR! Missing: models-package@git+https://<token_key>:x-oauth-basic@github.com/<username>/models-package.git
npm ERR! A complete log of this run can be found in:
npm ERR! <path>
我不知道为什么我的自定义models-package 没有设置在我的node_modules 文件夹中。这里有什么问题?
【问题讨论】: