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
[🐛 Bug]: ESM module exports in Puppeteer 13.3.0 break devtools integration (ERR_PACKAGE_PATH_NOT_EXPORTED) #7994
Comments
This problem is caused based on one of the imports you find in @jan-molak you want to take a stab at it? |
I might give it a shot tonight ;-) |
Is there any way to workaround the issue until this gets fixed? EDIT: downgrading wdio deps. obviously worked. |
@abianche you can also help provide a fix 😉 |
@abianche looks like it might get fixed at the source - puppeteer/puppeteer#7986 |
OK, Puppeteer has reverted the change in Thanks for replying, @christian-bromann - good to know you're still around ;-) |
Awesome! |
Workaround If you have backup of "node_modules/puppeteer-core" then overwrite it. It worked for us. Also you may try using previous version of "puppeteer-core" package from https://www.npmjs.com/package/puppeteer-core. |
We believe the issue that caused us to pin to 7.14.1 was this one webdriverio/webdriverio#7994. Testing versions of webdriverio 7.14 - 7.19 no longer causes us any issues. The issue seems to have been resolved and we no longer need to pin to a specific version.
* chore: update webdriverio peerDependency We believe the issue that caused us to pin to 7.14.1 was this one webdriverio/webdriverio#7994. Testing versions of webdriverio 7.14 - 7.19 no longer causes us any issues. The issue seems to have been resolved and we no longer need to pin to a specific version. * update version * regenerate
Have you read the Contributing Guidelines on issues?
WebdriverIO Version
7.16.14
Node.js Version
16.13.1
Mode
WDIO Testrunner
Which capabilities are you using?
What happened?
puppeteer-core
as a range of^13.1.3
devtools
, such as these ones now break withERR_PACKAGE_PATH_NOT_EXPORTED
since the files that WebdriverIO expects to be available are no longer exported bypuppeteer-core
@christian-bromann?
What is your expected behavior?
I'd expect WebdriverIO to work with Puppeteer and not throw errors
How to reproduce the bug.
devtools
protocol, local Chrome (I'm using v98) andpuppeteer-core
13.3.0ERR_PACKAGE_PATH_NOT_EXPORTED
Relevant log output
Code of Conduct
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: