You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RE FAIL: Downloading precompiled headless Chromium binary (stable channel) for AWS Lambda. #17
Failed at the @serverless-chrome/lambda@1.0.0-55 postinstall script. >>
{ Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' }
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @serverless-chrome/lambda@1.0.0-55 postinstall: node scripts/postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @serverless-chrome/lambda@1.0.0-55 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-07-26T17_13_00_178Z-debug.log
The command '/bin/sh -c npm install t9tio/cloudquery' returned a non-zero code: 1
update - tried on Docker with node:10.16.0-alpine on aws download chrome but errors.. ->
Downloading precompiled headless Chromium binary (stable channel) for AWS Lambda.
Completed Headless Chromium download.
npm WARN saveError ENOENT: no such file or directory, open '/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
cloudquery@1.0.0
added 77 packages from 72 contributors and audited 160 packages in 7.759s
found 0 vulnerabilities
Removing intermediate container 99018088037d
---> 4fad82d16fd0
Step 4/6 : RUN npm run sb
---> Running in 7dbfe536d30c
npm ERR! path /package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-07-29T14_09_46_089Z-debug.log
The command '/bin/sh -c npm run sb' returned a non-zero code: 254
** anyway to get this to work in Docker ? Thanks! Great project!
yeah Im trying to do this in docker
tried on local network and on a AWS EC2 and getting :
Downloading precompiled headless Chromium binary (stable channel) for AWS Lambda.
Completed Headless Chromium download.
npm WARN saveError ENOENT: no such file or directory, open '/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field. .... Bla Bla
guess this will not install on Docker .. weird
will give it a try on bare metal
Anyway Thanks!
Activity
quantumalchemy commentedon Jul 29, 2019
update - tried on Docker with node:10.16.0-alpine on aws download chrome but errors.. ->
Downloading precompiled headless Chromium binary (stable channel) for AWS Lambda.
Completed Headless Chromium download.
npm WARN saveError ENOENT: no such file or directory, open '/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
added 77 packages from 72 contributors and audited 160 packages in 7.759s
found 0 vulnerabilities
Removing intermediate container 99018088037d
---> 4fad82d16fd0
Step 4/6 : RUN npm run sb
---> Running in 7dbfe536d30c
npm ERR! path /package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-07-29T14_09_46_089Z-debug.log
The command '/bin/sh -c npm run sb' returned a non-zero code: 254
** anyway to get this to work in Docker ? Thanks! Great project!
timqian commentedon Jul 29, 2019
seems some issue with serverless/chrome package, I can have a try tomorrow
timqian commentedon Jul 30, 2019
npm iworks for meMay be network issue on your machine?
quantumalchemy commentedon Jul 30, 2019
yeah Im trying to do this in docker
tried on local network and on a AWS EC2 and getting :
Downloading precompiled headless Chromium binary (stable channel) for AWS Lambda.
Completed Headless Chromium download.
npm WARN saveError ENOENT: no such file or directory, open '/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field. .... Bla Bla
guess this will not install on Docker .. weird
will give it a try on bare metal
Anyway Thanks!