首页 > npm安装问题

npm安装问题

运行$npm install 的时候,出现以下信息:

$ npm install
npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN prefer global coffee-script@1.10.0 should be installed with -g
npm WARN prefer global marked@0.3.5 should be installed with -g
npm WARN prefer global jshint@2.9.1 should be installed with -g
npm WARN prefer global leasot@1.3.2 should be installed with -g
npm WARN prefer global node-gyp@3.3.0 should be installed with -g

//....

1、提示升级graceful-fs、lodash,命令怎么写?
2、prefer global coffee-script、marked..等,should be installed with -g,命令怎么写?


忽略即可,这个问题需要包的作者升级
npm/npm#12631


我的出现这样的错误,按上面的方法也不行,请给指导,谢谢


在你的package.json里把版本号去掉再install,默认就会安装最新的

【热门文章】
【热门文章】