V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
yreenchan
V2EX  ›  Node.js

spm build 在 windows 有安装成功的吗?

  •  
  •   yreenchan · Mar 12, 2015 · 4249 views
    This topic created in 4066 days ago, the information mentioned may be changed or developed.
    spm已经安装成功了,但是安装spm build时一直在报错,都不知道是什么问题

    错误码:

    D:\UserProfiles\YreenChan\AppData\Roaming\npm\node_modules\spm-build\node_module
    s\6to5\node_modules\kexec>node "D:\Program Files\nodejs\node_modules\npm\bin\nod
    e-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure build
    child_process: customFds option is deprecated, use stdio instead.
    系统找不到指定的路径。
    gyp: Call to 'node -v |grep "v0.11" > /dev/null && echo "__NODE_V0_11__" || echo
    "__NOT_NODE_V0_11__"' returned exit status 255. while trying to load binding.gy
    p
    gyp ERR! configure error
    gyp ERR! stack Error: `gyp` failed with exit code: 1
    gyp ERR! stack at ChildProcess.onCpExit (D:\Program Files\nodejs\node_module
    s\npm\node_modules\node-gyp\lib\configure.js:343:16)
    gyp ERR! stack at ChildProcess.emit (events.js:110:17)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067
    :12)
    gyp ERR! System Windows_NT 6.3.9600
    gyp ERR! command "node" "D:\\Program Files\\nodejs\\node_modules\\npm\\node_modu
    les\\node-gyp\\bin\\node-gyp.js" "configure" "build"
    gyp ERR! cwd D:\UserProfiles\YreenChan\AppData\Roaming\npm\node_modules\spm-buil
    d\node_modules\6to5\node_modules\kexec
    gyp ERR! node -v v0.12.0
    gyp ERR! node-gyp -v v1.0.2
    gyp ERR! not ok
    npm WARN optional dep failed, continuing [email protected]
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5714 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 01:59 · PVG 09:59 · LAX 18:59 · JFK 21:59
    ♥ Do have faith in what you're doing.