问题:
I installed Express.js with the following command: 我使用以下命令安装了Express.js:
sudo npm install -g express
I get the following warnings: 我收到以下警告:
npm WARN package.json range-parser@0.0.4 No repository field.
npm WARN package.json fresh@0.1.0 No repository field.
npm WARN package.json methods@0.0.1 No repository field.
npm WARN package.json methods@0.0.1 No readme data.
npm WARN package.json cookie-signature@1.0.1 No repository field.
npm WARN package.json send@0.1.0 No repository field.
npm WARN package.json pause@0.0.1 No repository field.
npm WARN package.json bytes@0.2.0 No repository field.
npm WARN package.json github-url-from-git@1.1.1 No repository field.
npm WARN package.json assert-plus@0.1.2 No repository field.
npm WARN package.json ctype@0.5.2 No repository field.
I'm new to Node.js and Express.js. 我是Node.js和Express.js的新手。 Why do I have the above warnings? 为什么我有上述警告? Should I be worried? 我应该担心吗?
解决方案:
参考一: https://stackoom.com/question/18bh4/npm-WARN-package-json-没有存储库字段参考二: https://oldbug.net/q/18bh4/npm-WARN-package-json-No-repository-field
来源:oschina
链接:https://my.oschina.net/u/4428122/blog/4330822