eeeeeeve
V2EX  ›  Node.js

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

  •  
  •   eeeeeeve · May 22, 2015 · 4104 views
    This topic created in 4016 days ago, the information mentioned may be changed or developed.
    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 replies
    otakustay
        1
    otakustay  
       May 22, 2015
    看上去只是告诉你grunt-autoprefixer安装成功了(运行了postinstall脚本),并没有直接运行grunt啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1077 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 22:50 · PVG 06:50 · LAX 15:50 · JFK 18:50
    ♥ Do have faith in what you're doing.