gpt4 book ai didi

npm 错误!光纤@1.0.15 安装 : `node build.js || nodejs build.js`

转载 作者:行者123 更新时间:2023-12-04 20:57:06 26 4
gpt4 key购买 nike

我正在尝试通过引用 document 在我的笔记本电脑上安装 Sunbird .
但是在 npm install 上出错步

  • gyp WARN install got an error, rolling back install
    gyp ERR! configure error
    gyp ERR! stack Error: unexpected end of file
    gyp ERR! stack at Zlib.zlibOnError [as onerror] (zlib.js:134:17)
    gyp ERR! System Linux 4.13.0-37-generic
    gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
    gyp ERR! cwd /home/ttpllt23/GIT/snd-setup/sunbird-portal/src/node_modules/fibers
    gyp ERR! node -v v9.3.0
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok
    node-gyp exited with code:


  • npm ERR! file sh
    npm ERR! code ELIFECYCLE
    npm ERR! errno ENOENT
    npm ERR! syscall spawn
    npm ERR! fibers@1.0.15 install:
    节点 build.js || nodejs build.js
    npm ERR! spawn ENOENT
    npm ERR!
    npm ERR! Failed at the fibers@1.0.15 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

  • 我正在使用
    Ubuntu v16.04
    节点 v9.3.0

    最佳答案

    节点版本存在问题。它应该只是 6.x.x

    关于npm 错误!光纤@1.0.15 安装 : `node build.js || nodejs build.js` ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49533329/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com