You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run npm run serve & to start local http server in bg mode
run npm run test to execute script
What is the expected result?
Script should log app.js to the console
What happens instead?
Script doesn't log anything
puppeteer-script-bug$ npm run test
> puppeteer_test@1.0.0 test /mnt/f/work/bryntum/tmp/puppeteer-script-bug
> node ./index.js
301
http://localhost:5000/index.html
301
http://localhost:5000/index
200
http://localhost:5000/
200
http://localhost:5000/app.js
Now, if you uncomment line 9 --single-process script will run just fine:
puppeteer-script-bug$ npm run test
> puppeteer_test@1.0.0 test /mnt/f/work/bryntum/tmp/puppeteer-script-bug
> node ./index.js
301
http://localhost:5000/index.html
301
http://localhost:5000/index
200
http://localhost:5000/
200
http://localhost:5000/app.js
0: JSHandle:app.js
I don't really understand what's going on, I couldn't find any report on javascript not running in puppeteer in WSL1. I was looking through other puppeteer bug reports and was just trying random flags that worked for other people, this one helped.
Could you please explain what's happening?
The text was updated successfully, but these errors were encountered:
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.
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!
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
npm i
npm run serve &
to start local http server in bg modenpm run test
to execute scriptWhat is the expected result?
Script should log
app.js
to the consoleWhat happens instead?
Script doesn't log anything
Now, if you uncomment line 9
--single-process
script will run just fine:I don't really understand what's going on, I couldn't find any report on javascript not running in puppeteer in WSL1. I was looking through other puppeteer bug reports and was just trying random flags that worked for other people, this one helped.
Could you please explain what's happening?
The text was updated successfully, but these errors were encountered: