Skip to content
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

fail to install node dependencies #1036

Merged
merged 2 commits into from
Dec 25, 2017
Merged

fail to install node dependencies #1036

merged 2 commits into from
Dec 25, 2017

Conversation

hiwanz
Copy link
Contributor

@hiwanz hiwanz commented Dec 25, 2017

before you run mybot.js make sure you have package.json along with the script,or it would fail to install dependencies

➜  npm install wechaty

> [email protected] install /Users/hiwanz/test/node_modules/puppeteer
> node install.js

ERROR: Failed to download Chromium r515411! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: read ETIMEDOUT
    at _errnoException (util.js:1024:11)
    at TLSWrap.onread (net.js:615:25) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
npm WARN enoent ENOENT: no such file or directory, open '/Users/hiwanz/test/package.json'
npm WARN test No description
npm WARN test No repository field.
npm WARN test No README data
npm WARN test No license field.

before you run `mybot.js` make sure you have `package.json` along with the script,or it would fail to install dependencies

```
➜  test npm install wechaty

> [email protected] install /Users/hiwanz/test/node_modules/puppeteer
> node install.js

ERROR: Failed to download Chromium r515411! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: read ETIMEDOUT
    at _errnoException (util.js:1024:11)
    at TLSWrap.onread (net.js:615:25) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
npm WARN enoent ENOENT: no such file or directory, open '/Users/hiwanz/test/package.json'
npm WARN test No description
npm WARN test No repository field.
npm WARN test No README data
npm WARN test No license field.

```
before you run `mybot.js` make sure you have `package.json` along with the script,or it would fail to install dependencies

Error info:

```
➜  test npm install wechaty

> [email protected] install /Users/hiwanz/test/node_modules/puppeteer
> node install.js

ERROR: Failed to download Chromium r515411! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: read ETIMEDOUT
    at _errnoException (util.js:1024:11)
    at TLSWrap.onread (net.js:615:25) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
npm WARN enoent ENOENT: no such file or directory, open '/Users/hiwanz/test/package.json'
npm WARN test No description
npm WARN test No repository field.
npm WARN test No README data
npm WARN test No license field.

```
@huan
Copy link
Member

huan commented Dec 25, 2017

That's helpful for the beginners.

Thank you very much!

@huan huan merged commit 3661d33 into wechaty:master Dec 25, 2017
@hiwanz hiwanz deleted the patch-1 branch December 26, 2017 01:40
@hiwanz hiwanz restored the patch-1 branch December 26, 2017 01:50
@hiwanz hiwanz deleted the patch-1 branch December 26, 2017 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants