Better way to cleanup puppeteer_dev_chrome_profile-*

See original GitHub issue

Steps to reproduce

Launch puppeteer for a long time.

Error: ENOSPC: no space left on device, mkdtemp '/tmp/puppeteer_dev_profile-XXXXXX'

Tell us about your environment:

  • Puppeteer version: 5.1.0
  • Platform / OS version: Debian Stretch
  • URLs (if applicable): -
  • Node.js version: 12

What steps will reproduce the problem?

Please include code that reproduces the issue.

  1. Launch puppeteer for a long time.

What is the expected result?

Works without any issue.

What happens instead?

No space left on device because a lot of puppeteer_dev_chrome_profile-* files.

Related issues:

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:14

github_iconTop GitHub Comments

8reactions
phpnercommented, Jul 20, 2022

It helped me

const browser = await  puppeteer.launch({
        userDataDir: '/dev/null'
    });
8reactions
MahbbRahcommented, Dec 29, 2021

That’s false information I’m running it on incognito mode and it’s still creating dev profile.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can i disable puppeteer dev profile. · Issue #1791 - GitHub
When I checked /tmp folder in the Lambda, I saw puppeteer doesn't remove profile file. Example Output: 2018-01-12T14:55:38.553Z a6ef3454-f7a8- ...
Read more >
Disk cleanup in Windows - Microsoft Support
To delete temporary files: In the search box on the taskbar, type disk cleanup, and select Disk Cleanup from the list of results....
Read more >
How to clean up your Gmail inbox by quickly deleting old email
Here's a way to clean up your inbox within Gmail, first by deleting unwanted emails using Google's built-in filters, then using search ...
Read more >
How To Clean Up And Optimize Your Mac: 14 powerful tips
Get the best Mac cleaning apps for keeping your Mac in shape. Best utilities in one pack, give it a go! Try free....
Read more >
Cleanup: Phone Storage Cleaner 4+ - App Store
Download Cleanup: Phone Storage Cleaner and enjoy it on your iPhone, iPad, ... the one you want so it doesn't really take away...
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