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

chrome-win.zip not extracted during installation #5745

Closed
shawnkhall opened this issue Apr 26, 2020 · 3 comments
Closed

chrome-win.zip not extracted during installation #5745

shawnkhall opened this issue Apr 26, 2020 · 3 comments

Comments

@shawnkhall
Copy link

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: 3.0.1
  • Platform / OS version: Win64 v1909 (multiple devices)
  • URLs (if applicable):
  • Node.js version: 14.0.0

What steps will reproduce the problem?

Please include code that reproduces the issue.

  1. npm i puppeteer
  2. node demo.js

demo.js is:

const puppeteer = require('puppeteer');
(async () => {
	const browser = await puppeteer.launch();
	const page = await browser.newPage();
	await page.goto('https://example.com/');
 	await browser.close();
})();

What is the expected result?

Install puppeteer into "node_modules" as well as download and extract the current chrome-win.zip to node_modules/puppeteer/.local-chromium/win64-nnnnnn/chrome-win.

What happens instead?

Puppeteer is installed to node_modules and the current chrome-win.zip is downloaded to node_modules/puppeteer/.local-chromium, but only the manifest file is extracted to node_modules/puppeteer/.local-chromium/win64-nnnnnn/chrome-win.

When attempting to run any script with a puppeteer dependency at this point results in the following error:
(node:2116) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process! spawn .\node_modules\puppeteer.local-chromium\win64-nnnnnn\chrome-win\chrome.exe ENOENT

Manually extracting chrome-win.zip to the chrome-win folder allows the script to operate as expected.

@jackfranklin
Copy link
Collaborator

@shawnkhall unfortunately Puppeteer does not yet work on Node 14 (see #5719).

@stale
Copy link

stale bot commented Jun 26, 2022

We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.

@stale stale bot added the unconfirmed label Jun 26, 2022
@stale
Copy link

stale bot commented Jul 26, 2022

We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it!

@stale stale bot closed this as completed Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants