Skip to content

Conversation

odidev
Copy link

@odidev odidev commented Jun 17, 2020

Updated Puppeteer version to latest in package.json as the latest puppeteer version has support for aarch64 platform.

@marijnh
Copy link
Member

marijnh commented Jun 18, 2020

That version doesn't run on my system (Debian Linux, 5.2 kernel)

Error: Failed to launch the browser process! spawn /home/marijn/src/codemirror/node_modules/puppeteer/.local-chromium/linux-756035/chrome-linux/chrome ENOENT

The file it tries to start indeed doesn't exist. I have ran into that before and failed to figure out why this is broken, but for the moment, I don't care enough about upgrading to spend more time on this.

@odidev
Copy link
Author

odidev commented Jun 18, 2020

@marijnh Could you please provide some more details on the issue, also what architecture does your system uses.

@marijnh
Copy link
Member

marijnh commented Jun 18, 2020

64-bit intel. After installing puppeteer 4.0.0, I have these files in node_modules/.local-chromium:

node_modules/puppeteer/.local-chromium/chrome-linux.zip
node_modules/puppeteer/.local-chromium/linux-756035/chrome-linux/chrome_100_percent.pak

It looks like, for some reason, the install process failed to unzip the file. No relevant output during installation, though:

npm install [email protected]

> [email protected] install /home/marijn/tmp/node_modules/puppeteer
> node install.js

Downloading Chromium r756035 - 125.2 Mb [====================] 100% 0.0s 

+ [email protected]
added 1 package, updated 1 package and audited 233 packages in 55.125s

3 packages are looking for funding
  run `npm fund` for details

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