Firefox processes blocks reinstall Puppeteer
See original GitHub issueSteps 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.
- Install Puppeteer with FF (81.0a1)
- Run script https://gist.github.com/inoyakaigor/19ae0eeabf93fbfc04c368ffa17b6efa
- Then I got an error
Evaluation failed: call to Function() blocked by CSP - 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:

Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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