V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
eeeeeeve
V2EX  ›  Node.js

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

  •  
  •   eeeeeeve · 2015-05-22 10:28:50 +08:00 · 3427 次点击
    这是一个创建于 3466 天前的主题,其中的信息可能已经有所发展或是发生改变。
    npm install
    npm WARN engine [email protected]: 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 [email protected]
    \


    > [email protected] postinstall E:\xxxxxx\node_modules\grunt-autoprefixer
    1 条回复
    otakustay
        1
    otakustay  
       2015-05-22 17:15:05 +08:00
    看上去只是告诉你grunt-autoprefixer安装成功了(运行了postinstall脚本),并没有直接运行grunt啊
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   966 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:28 · PVG 06:28 · LAX 14:28 · JFK 17:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.