wechaty / puppet-wechat

Wechaty Puppet Provider for WeChat
https://www.npmjs.com/package/wechaty-puppet-wechat
Apache License 2.0
408 stars 68 forks source link

【求助】无法安装 puppet-wechat #165

Closed lixiyu closed 2 years ago

lixiyu commented 2 years ago

无法顺利安装 puppet-wechat 环境: docker container node:16 code: git@github.com:wechaty/getting-started.git 运行命令:PUPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors npm install wechaty-puppet-wechat 运行结果: ![Uploading 微信图片_20211029005823.png…]()

root@575f29bddb18:/getting-started/getting-started# PUPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors npm install wechaty-puppet-wechat npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/pinpoint@1.0.2: Moved to 'npm install @sideway/pinpoint' npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated eslint-plugin-standard@5.0.0: standard 16.0.0 and eslint-config-standard 16.0.0 no longer require the eslint-plugin-standard package. You can remove it from your dependencies with 'npm rm eslint-plugin-standard'. More info here: https://github.com/standard/standard/issues/1316 npm WARN deprecated @hapi/formula@1.2.0: Moved to 'npm install @sideway/formula' npm WARN deprecated tslint-config-standard@9.0.0: TSLint is deprecated, please move to ESLint: https://github.com/blakeembrey/tslint-config-standard/issues/61 npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address' 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 babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained npm WARN deprecated axios@0.15.3: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 npm WARN deprecated @hapi/joi@16.1.8: Switch to 'npm install joi' npm WARN deprecated tslint@6.1.3: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information. npm ERR! code 126 npm ERR! path /getting-started/getting-started/node_modules/leveldown npm ERR! command failed npm ERR! command sh -c node-gyp-build npm ERR! sh: 1: node-gyp-build: Permission denied

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-10-28T16_50_38_732Z-debug.log

huan commented 2 years ago

I'd like to suggest that you can follow https://wechaty.js.org/2021/02/20/google-cloud-shell-tutorials/ if you can visit Google.

And the https://github.com/wechaty/getting-started repo will always be your friend.

lixiyu commented 2 years ago

thank you. I think this issue can be close know. It is the same porblem whith that npm install failed. caused by version mismatch problem fixed in last week.