小编Gii*_*ngu的帖子

sh:1:node-gyp-build:权限被拒绝并且 npm 错误!代码 ELIFECYCLE npm 错误!错误号126

尝试在 Ubuntu 18.04 x64 上运行它。一天前它还可以正常工作,但突然就停止了。

npm i simple-youtube-api
Run Code Online (Sandbox Code Playgroud)

我曾经能够安装它们,但不能安装任何人,我得到了这个:

> bufferutil@4.0.1 install /root/NezukoBot/node_modules/bufferutil
> node-gyp-build

sh: 1: node-gyp-build: Permission denied
npm WARN discord.js@11.5.1 requires a peer of @discordjs/uws@^10.149.0 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js-commando@0.10.0 requires a peer of sqlite@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/pm2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN …
Run Code Online (Sandbox Code Playgroud)

node.js npm npm-install

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

node.js ×1

npm ×1

npm-install ×1