-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信登陆报错 #9
Comments
看起来像是有些 linux的基础包没装,你可以试试 |
还是不行 runWechatService... Error: Command failed: npm install npm ERR! A complete log of this run can be found in:
code: 127, |
看起来像是缺少一些编译包导致的
你可以试试
|
还是不行 runWechatService...
Error: Command failed: npm install npm ERR! A complete log of this run can be found in:
code: 127, |
各种错误。。。有不有docker版本?
Error: Command failed: npm install npm ERR! A complete log of this run can be found in:
code: 1, |
目前暂时没有docker版本,后续应该会推出
看报错是缺少很多编译环境的包导致的
来安装make gcc g++等 |
[root@ip-172-31-30-113 ~]# chaty run wechat runWechatService... / starting to install pkgs for wechat service....../root/.nvm/versions/node/v16.19.1/lib/node_modules/ichaty/node_modules/execa/index.js:174 err = new Error(
Command failed: ${joinedCmd}${output}`);^
Error: Command failed: npm install
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Cuid and other k-sortable and non-cryptographic ids (Ulid, ObjectId, KSUID, all UUIDs) are all insecure. Use @paralleldrive/cuid2 instead.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm ERR! code 127
npm ERR! path /root/.nvm/versions/node/v16.19.1/lib/node_modules/ichaty/lib/src/services/wechat/node_modules/leveldown
npm ERR! command failed
npm ERR! command sh -c -- node-gyp-build
npm ERR! sh: node-gyp-build: command not found
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-03-13T03_49_21_658Z-debug-0.log
code: 127,
stdout: '',
stderr: 'npm WARN deprecated [email protected]: this library is no longer supported\n' +
'npm WARN deprecated [email protected]: Cuid and other k-sortable and non-cryptographic ids (Ulid, ObjectId, KSUID, all UUIDs) are all insecure. Use @paralleldrive/cuid2 instead.\n' +
'npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\n' +
'npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142\n' +
'npm ERR! code 127\n' +
'npm ERR! path /root/.nvm/versions/node/v16.19.1/lib/node_modules/ichaty/lib/src/services/wechat/node_modules/leveldown\n' +
'npm ERR! command failed\n' +
'npm ERR! command sh -c -- node-gyp-build\n' +
'npm ERR! sh: node-gyp-build: command not found\n' +
'\n' +
'npm ERR! A complete log of this run can be found in:\n' +
'npm ERR! /root/.npm/_logs/2023-03-13T03_49_21_658Z-debug-0.log\n',
failed: true,
signal: null,
cmd: 'npm install',
timedOut: false,
killed: false
}`
npm v16.19.1
amazon linux
root权限
The text was updated successfully, but these errors were encountered: