question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firefox processes blocks reinstall Puppeteer

See original GitHub issue

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: 5.2.1
  • Platform / OS version: Win 10 x64 (build 2004)
  • URLs (if applicable):
  • Node.js version: 14.4.0

What steps will reproduce the problem?

Please include code that reproduces the issue.

  1. Install Puppeteer with FF (81.0a1)
  2. Run script https://gist.github.com/inoyakaigor/19ae0eeabf93fbfc04c368ffa17b6efa
  3. Then I got an error Evaluation failed: call to Function() blocked by CSP
  4. Uninstall puppeteer and install it with Chromium

What is the expected result? Install succefull

What happens instead? Got an error Rolling back puppeteer@5.2.1 failed (this is probably harmless): EBUSY: resource busy or locked, rmdir '_my_project_path_\node_modules\puppeteer\.local-firefox\win64-81.0a1\firefox'

npm ERR! code EPERM
npm ERR! syscall rename
npm ERR! path _my_project_path_\node_modules\puppeteer
npm ERR! dest _my_project_path_\node_modules\.puppeteer.DELETE
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, rename '_my_project_path_\node_modules\puppeteer' -> '_my_project_path_\node_modules\.puppeteer.DELETE'

It is happens because firefox processes for each run is not shutdown: image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mjzffrcommented, Aug 3, 2020

Thanks for checking. I’ll track a fix for this over in https://bugzilla.mozilla.org/show_bug.cgi?id=1656962

0reactions
whimboocommented, Nov 18, 2021

That’s great to hear. Thanks a lot for checking.

Read more comments on GitHub >

github_iconTop Results From Across the Web

how do you install and run puppeteer for firefox - Stack Overflow
Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary.
Read more >
1693011 - Firefox hangs during startup when both headless ...
(Blocks 1 open bug, Regression) ... When running headless Puppeteer tests with Firefox Nightly on Linux for some tests Firefox hangs during startup....
Read more >
How to Run Puppeteer with Firefox Instead of Chrome
Using Firefox with an Existing Puppeteer Project · Step 1. Delete the /puppeteer Folder · Step 2. Install Puppeteer (Firefox Nightly) · Step...
Read more >
How to use Puppeteer inside a Docker container
Puppeteer is a Node.js library which provides a high-level API to control Chromium (or Firefox) browsers over the DevTools Protocol.
Read more >
Puppeteer HTML to PDF Generation with Node.js
Learn to generate a Puppeteer PDF document from a heavily styled React page ... Otherwise, the Puppeteer sub process might run out of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found