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

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

  •  
  •   yreenchan · 2015-03-12 10:35:39 +08:00 · 3409 次点击
    这是一个创建于 3330 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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]
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5370 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 08:53 · PVG 16:53 · LAX 01:53 · JFK 04:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.