docker无法安装
在linux docker环境下安装该插件,会报python不存在问题,所以我进容器里面安装了python3。
然后现在报了这个错误:
2023-05-10 11:27:23 [I] market [1/4] Resolving packages...
2023-05-10 11:27:24 [W] market warning koishi-plugin-adapter-wechaty > wechaty-puppet-wechat > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2023-05-10 11:27:24 [W] market warning koishi-plugin-adapter-wechaty > wechaty-puppet-wechat > puppeteer@13.7.0: < 19.4.0 is no longer supported
2023-05-10 11:27:25 [W] market warning koishi-plugin-adapter-wechaty > wechaty-puppet-wechat > request > har-validator@5.1.5: this library is no longer supported
2023-05-10 11:27:25 [W] market warning koishi-plugin-adapter-wechaty > wechaty-puppet-xp > 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.
2023-05-10 11:27:25 [W] market warning koishi-plugin-adapter-wechaty > wechaty-puppet-wechat > request > 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.
2023-05-10 11:27:26 [W] market warning koishi-plugin-adapter-wechaty > wechaty > open-graph > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2023-05-10 11:27:26 [W] market warning koishi-plugin-adapter-wechaty > wechaty > wechaty-puppet-service > flash-store > 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.
2023-05-10 11:27:30 [I] market [2/4] Fetching packages...
2023-05-10 11:27:31 [I] market [3/4] Linking dependencies...
2023-05-10 11:27:31 [W] market warning "@koishijs/plugin-adapter-discord > @satorijs/adapter-discord@3.6.0" has unmet peer dependency "@satorijs/satori@^2.2.3".
2023-05-10 11:27:31 [W] market warning "@koishijs/plugin-database-mysql > @minatojs/driver-mysql@2.4.4" has unmet peer dependency "@minatojs/core@^2.3.1".
2023-05-10 11:27:31 [W] market warning "@koishijs/plugin-adapter-onebot > @satorijs/adapter-onebot@5.6.7" has unmet peer dependency "@satorijs/satori@^2.3.2".
2023-05-10 11:27:31 [W] market warning "@koishijs/plugin-database-mysql > @minatojs/driver-mysql > @minatojs/sql-utils@4.0.3" has unmet peer dependency "@minatojs/core@^2.3.1".
2023-05-10 11:27:31 [W] market warning " > koishi-plugin-adapter-matrix@3.0.0" has unmet peer dependency "@satorijs/satori@^1.3.5".
2023-05-10 11:27:31 [W] market warning "koishi-plugin-adapter-wechaty > wechaty-puppet-wechat@1.18.4" has unmet peer dependency "wechaty-puppet@^1.18.3".
2023-05-10 11:27:31 [W] market warning "koishi-plugin-adapter-wechaty > wechaty-puppet-xp@1.12.7" has unmet peer dependency "wechaty-puppet@^1.10.2".
2023-05-10 11:27:31 [W] market warning "koishi-plugin-adapter-wechaty > wechaty-puppet-wechat > state-switch@1.6.3" has unmet peer dependency "brolog@^1.14.2".
2023-05-10 11:27:31 [W] market warning "koishi-plugin-adapter-wechaty > wechaty-puppet-wechat > state-switch@1.6.3" has unmet peer dependency "gerror@^1.0.16".
2023-05-10 11:27:31 [W] market warning "koishi-plugin-adapter-wechaty > koishi-thirdeye > cordis-decorators@1.0.26" has unmet peer dependency "cordis@^2.7.2".
2023-05-10 11:27:31 [W] market warning "koishi-plugin-adapter-wechaty > koishi-thirdeye > cordis-decorators@1.0.26" has unmet peer dependency "schemastery@^3.5.1".
2023-05-10 11:27:31 [W] market warning "koishi-plugin-adapter-wechaty > wechaty > wechaty-puppet > state-switch@1.7.1" has unmet peer dependency "rxjs@^7.4.0".
2023-05-10 11:27:31 [W] market warning "koishi-plugin-adapter-wechaty > wechaty > wechaty-puppet-service > redux-observable@2.0.0" has unmet peer dependency "redux@>=4 <5".
2023-05-10 11:27:31 [W] market warning "koishi-plugin-adapter-wechaty > koishi-thirdeye > cordis-decorators > schemastery-gen@3.1.17" has unmet peer dependency "schemastery@^3.6.1".
2023-05-10 11:27:31 [W] market warning "koishi-plugin-adapter-wechaty > wechaty > wechaty-puppet-service > ducks@1.0.2" has unmet peer dependency "redux@^4.0.5".
2023-05-10 11:27:42 [I] market [4/4] Building fresh packages...
2023-05-10 11:27:46 [W] market error /koishi/node_modules/frida: Command failed.
2023-05-10 11:27:46 [W] market Exit code: 1
2023-05-10 11:27:46 [W] market Command: prebuild-install || node-gyp rebuild
2023-05-10 11:27:46 [W] market Arguments:
2023-05-10 11:27:46 [W] market Directory: /koishi/node_modules/frida
2023-05-10 11:27:46 [W] market Output:
2023-05-10 11:27:46 [W] market prebuild-install warn install No prebuilt binaries found (target=18.15.0 runtime=node arch=x64 libc=musl platform=linux)
2023-05-10 11:27:46 [W] market gyp info it worked if it ends with ok
2023-05-10 11:27:46 [W] market gyp info using node-gyp@9.3.1
2023-05-10 11:27:46 [W] market gyp info using node@18.15.0 | linux | x64
2023-05-10 11:27:46 [W] market gyp info find Python using Python version 3.10.11 found at "/usr/bin/python3"
2023-05-10 11:27:46 [W] market gyp info spawn /usr/bin/python3
2023-05-10 11:27:46 [W] market gyp info spawn args [
2023-05-10 11:27:46 [W] market gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
2023-05-10 11:27:46 [W] market gyp info spawn args 'binding.gyp',
2023-05-10 11:27:46 [W] market gyp info spawn args '-f',
2023-05-10 11:27:46 [W] market gyp info spawn args 'make',
2023-05-10 11:27:46 [W] market gyp info spawn args '-I',
2023-05-10 11:27:46 [W] market gyp info spawn args '/koishi/node_modules/frida/build/config.gypi',
2023-05-10 11:27:46 [W] market gyp info spawn args '-I',
2023-05-10 11:27:46 [W] market gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
2023-05-10 11:27:46 [W] market gyp info spawn args '-I',
2023-05-10 11:27:46 [W] market gyp info spawn args '/root/.cache/node-gyp/18.15.0/include/node/common.gypi',
2023-05-10 11:27:46 [W] market gyp info spawn args '-Dlibrary=shared_library',
2023-05-10 11:27:46 [W] market gyp info spawn args '-Dvisibility=default',
2023-05-10 11:27:46 [W] market gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/18.15.0',
2023-05-10 11:27:46 [W] market gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
2023-05-10 11:27:46 [W] market gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/18.15.0/<(target_arch)/node.lib',
2023-05-10 11:27:46 [W] market gyp info spawn args '-Dmodule_root_dir=/koishi/node_modules/frida',
2023-05-10 11:27:46 [W] market gyp info spawn args '-Dnode_engine=v8',
2023-05-10 11:27:46 [W] market gyp info spawn args '--depth=.',
2023-05-10 11:27:46 [W] market gyp info spawn args '--no-parallel',
2023-05-10 11:27:46 [W] market gyp info spawn args '--generator-output',
2023-05-10 11:27:46 [W] market gyp info spawn args 'build',
2023-05-10 11:27:46 [W] market gyp info spawn args '-Goutput_dir=.'
2023-05-10 11:27:46 [W] market gyp info spawn args ]
2023-05-10 11:27:46 [W] market gyp: binding.gyp not found (cwd: /koishi/node_modules/frida) while trying to load binding.gyp
2023-05-10 11:27:46 [W] market gyp ERR! configure error
2023-05-10 11:27:46 [W] market gyp ERR! stack Error: `gyp` failed with exit code: 1
2023-05-10 11:27:46 [W] market gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:325:16)
2023-05-10 11:27:46 [W] market gyp ERR! stack at ChildProcess.emit (node:events:513:28)
2023-05-10 11:27:46 [W] market gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2023-05-10 11:27:46 [W] market gyp ERR! System Linux 5.10.0-12-amd64
2023-05-10 11:27:46 [W] market gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2023-05-10 11:27:46 [W] market gyp ERR! cwd /koishi/node_modules/frida
2023-05-10 11:27:46 [W] market gyp ERR! node -v v18.15.0
2023-05-10 11:27:46 [W] market gyp ERR! node-gyp -v v9.3.1
2023-05-10 11:27:46 [W] market gyp ERR! not ok
2023-05-10 11:27:46 [I] market info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
我尝试过在/koishi/node_modules/frida
下创建一个binding.gyp
文件,但是还是一样的错误,麻烦大佬看看是啥问题。
注:在Windows的desktop下测试是没有问题的。