阅读背景:

为什么NPM在安装模块时从package.json中删除main:属性? (节点JS 8.11.3 NPM 5.0.2)

来源:互联网 

I recently updated Nodejs to 8.11.3 from either 8.11.2 or 8.11.1, and when I ran NPM install on my project, it updated the modules and for some of the modules that I am using in my project ( most are dependencies ), for example, ip, bignumber.js, inflection, to name some specifics, npm removed the "main": attribute from the package.json file. I have the same dependencies I've always had, and never had this issue before. So when I went to run my project I got the error message:I recently updated Nodejs to 8.11.3 from either




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: