wechaty / docusaurus

Wechaty Official Website for Documentations, Powered by Docusaurus.
https://wechaty.js.org/docs/
Other
112 stars 345 forks source link

Error running Wechaty on Google Cloud Shell #921

Closed sbis04 closed 3 years ago

sbis04 commented 3 years ago

Running the Ding Dong bot on Google Cloud Shell from the link given in the Quick Start page under Tutorials gives error in the npm install step. Have added the console output below:

Click to expand this section to see the console output with the error ``` sbis1999@cloudshell:~/cloudshell_open/wechaty-getting-started-18$ npm install npm WARN ERESOLVE overriding peer dependency npm WARN Found: @typescript-eslint/parser@3.10.1 npm WARN node_modules/@typescript-eslint/parser npm WARN @typescript-eslint/parser@"^3.10.1" from @chatie/eslint-config@0.12.4 npm WARN node_modules/@chatie/eslint-config npm WARN dev @chatie/eslint-config@"^0.12.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @typescript-eslint/parser@"^4.0.0" from @typescript-eslint/eslint-plugin@4.26.0 npm WARN node_modules/@typescript-eslint/eslint-plugin npm WARN @typescript-eslint/eslint-plugin@"^4.14.2" from @chatie/eslint-config@0.12.4 npm WARN node_modules/@chatie/eslint-config 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 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 babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. npm WARN deprecated uuid@3.3.2: 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 https://github.com/request/request/issues/3142 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 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 WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100xeven if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm ERR! code 1 npm ERR! path /home/sbis1999/cloudshell_open/wechaty-getting-started-18/node_modules/whatsapp-web.js/node_modules/puppeteer npm ERR! command failed npm ERR! command sh -c node install.js npm ERR! ERROR: Failed to set up Chromium r818858! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. npm ERR! [Error: ENOSPC: no space left on device, write] { npm ERR! errno: -28, npm ERR! code: 'ENOSPC', npm ERR! syscall: 'write' npm ERR! } npm ERR! A complete log of this run can be found in: npm ERR! /home/sbis1999/.npm/_logs/2021-06-04T14_00_39_128Z-debug.log ```

Screenshot 2021-06-04 at 7 44 15 PM

huan commented 3 years ago

It seems that you are run out of space:

image

Please try again by freeing disk space in your cloud shell, I have just tested it without any problem with the latest branch code.

sbis04 commented 3 years ago

Now I tried with a different Google account, and it worked. Thanks!

Closing this issue.