-
Notifications
You must be signed in to change notification settings - Fork 42
Description
[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 har-validator@5.1.5: this library is no longer supported
npm WARN deprecated cuid@2.1.8: Cuid and other k-sortable and non-cryptographic ids (Ulid, ObjectId, KSUID, all UUIDs) are all insecure. Use @paralleldrive/cuid2 instead.
npm WARN deprecated uuid@3.4.0: 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 request@2.88.2: 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
at makeError (/root/.nvm/versions/node/v16.19.1/lib/node_modules/ichaty/node_modules/execa/index.js:174:9)
at /root/.nvm/versions/node/v16.19.1/lib/node_modules/ichaty/node_modules/execa/index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 127,
stdout: '',
stderr: 'npm WARN deprecated har-validator@5.1.5: this library is no longer supported\n' +
'npm WARN deprecated cuid@2.1.8: 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 uuid@3.4.0: 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 request@2.88.2: 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权限