question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Puppetter fails due to node modules error on travis CI build

See original GitHub issue

My tests are working fine on my local machine but when i want to merge my branch it’s failing on Travis CI build.

puppeteer@1.8.0 install /www/vhosts//node_modules/puppeteer node install.js /www/vhosts/node_modules/puppeteer/install.js:61 .then(() => browserFetcher.localRevisions()) ^ SyntaxError: Unexpected token ) at Module._compile (module.js:439:25) at Object.Module._extensions…js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:935:3 npm ERR! puppeteer@1.8.0 install: node install.js npm ERR! Exit status 8 npm ERR! npm ERR! Failed at the puppeteer@1.8.0 install script ‘node install.js’. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the puppeteer package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs puppeteer npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls puppeteer npm ERR! There is likely additional logging output above.

  • Puppeteer version:1.8.0
  • Platform / OS version: Mac > High Sierra
  • Node.js version: v8.12.0 *npm : 6.4.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
PendliKranthicommented, Oct 5, 2018

i found the solution it’s node version that is running on travis causes build failure.

0reactions
PendliKranthicommented, Oct 5, 2018

The node version that is running on travis is node v0.10.42 npm v3.8.2 i think the issue is because of this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Puppetter fails due to node modules error - Stack Overflow
npm ERR! Failed at the puppeteer@1.8.0 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm ......
Read more >
Common Build Problems - Travis CI Docs
If your build is failing due to unexpected segmentation faults in the language interpreter, this may be caused by corrupt or invalid caches...
Read more >
Troubleshooting - Puppeteer
The most common cause is a bug in Node.js v14.0.0 which broke extract-zip , the module Puppeteer uses to extract browser downloads into...
Read more >
Node.js — Why You Should Add “node” in Your Travis Config
Travis CI is a sophisticated continuous integration and deployment service. It integrates with GitHub and runs tests on events like commits ...
Read more >
Migrating a JS project from Travis to GitHub Actions
The build itself is just npm ci to install dependencies and then npm test . Although not shown here, some of the npm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found