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
npx cypress run --browser firefox
[firefox-profile] cannot delete profileDir on exit C:\Users\raslo\AppData\Roaming\Cypress\cy\production\browsers\firefox-stable\run-8308 Error: EPERM: operation not permitted, unlink '\\?\C:\Users\raslo\AppData\Roaming\Cypress\cy\production\browsers\firefox-stable\run-8308\rust_mozprofilefECWUR\cookies.sqlite-shm'
at unlinkSync (node:fs:1883:3)
at _unlinkSync (node:internal/fs/rimraf:214:14)
at unlinkSync (node:fs:1883:3)
at _unlinkSync (node:internal/fs/rimraf:214:14)
at fixWinEPERMSync (node:internal/fs/rimraf:306:5)
at rimrafSync (node:internal/fs/rimraf:200:14)
at node:internal/fs/rimraf:253:9
at Array.forEach (<anonymous>)
at _rmdirSync (node:internal/fs/rimraf:250:7)
at fixWinEPERMSync (node:internal/fs/rimraf:304:5)
at rimrafSync (node:internal/fs/rimraf:200:14)
at node:internal/fs/rimraf:253:9
at Array.forEach (<anonymous>)
at _rmdirSync (node:internal/fs/rimraf:250:7)
at fixWinEPERMSync (node:internal/fs/rimraf:304:5)
at rimrafSync (node:internal/fs/rimraf:200:14)
at Object.rmSync (node:fs:1278:10)
at v._cleanOnExit (<embedded>:777:119095)
at process.onExit (<embedded>:777:117974)
at process.emit (node:events:526:35)
at App.<anonymous> (node:electron/js2c/browser_init:2:119065)
at App.emit (node:events:514:28)
at b (<embedded>:3031:2271)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -4048,
syscall: 'unlink',
code: 'EPERM',
path: '\\\\?\\C:\\Users\\raslo\\AppData\\Roaming\\Cypress\\cy\\production\\browsers\\firefox-stable\\run-8308\\rust_mozprofilefECWUR\\cookies.sqlite-shm'
}
Other
There was no problem running on Mac or in GUI mode.
The text was updated successfully, but these errors were encountered:
Lorenzras
changed the title
Firefox throws error after test using command line on windows.
Error after running a test using the Firefox browser on the CLI in Windows.
Jan 20, 2025
Current behavior
Using the commandline, test itself succeeds but throws the following error.
[firefox-profile] cannot delete profileDir on exit
Here is what we did so far to no avail.
Desired behavior
No response
Test code to reproduce
I was able to reproduce it with sample repo .
npx cypress run --browser firefox
Cypress Version
13.17.0
Node version
v20.10.0
Operating System
Windows 11 Pro
Debug Logs
Other
There was no problem running on Mac or in GUI mode.
The text was updated successfully, but these errors were encountered: