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

Account for the removal of require('puppeteer/DeviceDescriptors') #406

Merged
merged 1 commit into from Jul 8, 2020

Conversation

jerrebm
Copy link
Contributor

@jerrebm jerrebm commented Jul 7, 2020

Puppeteer v5.0.0 has removed the top-level file puppeteer/DeviceDescriptors from the Puppeteer package (#6043), causing the following error when using the ->device() option:

Error: Cannot find module 'puppeteer/DeviceDescriptors'

The same data is exposed via puppeteer.devices, so bin/browser.js should be updated accordingly.

@freekmurze freekmurze merged commit 26bdea4 into spatie:master Jul 8, 2020
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants