npm install 过程中怎么会调用 grunt,有点奇怪啊,为何会这样?安装个依赖,为何需要使用 grunt 呢?

2015-05-22 10:28:50 +08:00
 eeeeeeve
npm install
npm WARN engine karma@0.12.32: wanted: {"node":"~0.8 || ~0.10"} (current: {"node":"0.12.1","npm"
:"2.9.0"})
npm WARN peerDependencies The peer dependency mocha@* included from karma-mocha will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency chai@* included from karma-chai will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN optional dep failed, continuing fsevents@0.3.6
\


> grunt-autoprefixer@0.4.2 postinstall E:\xxxxxx\node_modules\grunt-autoprefixer
3311 次点击
所在节点    Node.js
1 条回复
otakustay
2015-05-22 17:15:05 +08:00
看上去只是告诉你grunt-autoprefixer安装成功了(运行了postinstall脚本),并没有直接运行grunt啊

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/192908

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX