Repository navigation
Open
Labels
upstreamIssue related to an upstream library
Description
Describe the bug
[firefox-profile] cannot delete profileDir on exit ***\AppData\Local\Temp\firefox-profileln8DEw/ Error: EPERM, Permission denied: \\?\***\AppData\Local\Temp\firefox-profileln8DEw '\\?\***\AppData\Local\Temp\firefox-profileln8DEw'
at Object.rmSync (node:fs:1205:18)
at FirefoxProfile ._ cleanOnExit (***\wxt\node_modules\.pnpm\[email protected]\node_modules\firefox-profile\lib\firefox_profile. js:289:12)
at process. FirefoxProfile. onExit (***\wxt\node_modules\.pnpm\[email protected]\node_modules\firefox-profile\lib\firefox_profile. js:172:12)
at process.emit (node:events:520:22)
at process.emit (node: domain: 489:12)
at process.exit (node:internal/process/per_thread:236:15)
at process. FirefoxProfile. onSigInt (***\wxt\node_modules\.pnpm\[email protected]\node_modules\firefox-profile\lib\firefox_profile.js:177:13)
at process.emit (node: events: 508:20)
at process.emit (node: domain: 489:12)
at Signal. callbackTrampoline (node: internal/async_hooks:131:14) {
errno: 1,
code: 'EPERM'
path: '\\\\?\C:\\Users\\***\\AppData\\Local\\Temp\\firefox-profileln8DEw',
syscall: 'rm'
On *** - was a absolute path from my PC
It's happening on close wxt -b firefox
Reproduction
- Clone this repo
- Run
wxt -b firefoxonpackages/wxt-demo
Steps to reproduce
No response
System Info
System:
OS: Windows 11 10.0.26200
CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
Memory: 16.52 GB / 31.91 GB
Binaries:
Node: 25.6.1 - C:\Program Files\nodejs\node.EXE
npm: 11.9.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.29.2 - C:\Users\***\AppData\Local\pnpm\pnpm.CMD
bun: 1.3.3 - C:\Users\***\.bun\bin\bun.EXE
Browsers:
Chrome: 146.0.7680.178
Edge: Chromium (140.0.3485.54)
Firefox: 149.0 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.26100.7309
npmPackages:
wxt: workspace:* => 0.20.20Used Package Manager
pnpm
Validations
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Activity
aklinker1 commentedon Apr 12, 2026
Probably already fixed in
web-ext, is there a similar report there?PatrykKuniczak commentedon Apr 12, 2026
@aklinker1 I'll check it, if it happens on the latest
web-extPatrykKuniczak commentedon Apr 13, 2026
@aklinker1 It seems resolved on firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=1891521
but not for
web-ext:mozilla/web-ext#3134
But it's probably fixed, and that one is duplicated or they forgot to close it, but anyway you don't update:
https://github.com/wxt-dev/web-ext-run on last 7 months
That's mean we have very old version of
web-extsuveshmoza commentedon Nov 29, 2026
@PatrykKuniczak Is it still happening or should we close the issue?
PatrykKuniczak commentedon Nov 29, 2026
That was on Windows(God please no 😆), i've been using MacOS right now for programming, but i still have PC with Win for testing purposes and i've been gaming there.
I can't check it right now, let's see:
What's an OS ...
I'll try to figure it out tomorrow.