Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPERM on Windows when running in parallel #10

Closed
SimenB opened this issue Mar 31, 2016 · 3 comments
Closed

EPERM on Windows when running in parallel #10

SimenB opened this issue Mar 31, 2016 · 3 comments

Comments

@SimenB
Copy link
Contributor

SimenB commented Mar 31, 2016

Running del in parallel on our CI running on Windows, throws EPERM. I was told to create an issue here.

Ref yeoman/update-notifier#68

Our stacktrace:

error   31-Mar-2016 14:15:50    Error: EPERM: operation not permitted, rename 'C:\Windows\system32\config\systemprofile\.config\configstore\update-notifier-del-cli.json.1874881583' -> 'C:\Windows\system32\config\systemprofile\.config\configstore\update-notifier-del-cli.json'
error   31-Mar-2016 14:15:50        at Error (native)
error   31-Mar-2016 14:15:50        at Object.fs.renameSync (fs.js:681:18)
error   31-Mar-2016 14:15:50        at Function.writeFileSync [as sync] (D:\Bamboo\bamboo-home\xml-data\build-dir\SON-FRON-JOB1\code\node_modules\write-file-atomic\index.js:39:8)
error   31-Mar-2016 14:15:50        at Object.create.all.set (D:\Bamboo\bamboo-home\xml-data\build-dir\SON-FRON-JOB1\code\node_modules\configstore\index.js:63:21)
error   31-Mar-2016 14:15:50        at Object.Configstore (D:\Bamboo\bamboo-home\xml-data\build-dir\SON-FRON-JOB1\code\node_modules\configstore\index.js:28:11)
error   31-Mar-2016 14:15:50        at new UpdateNotifier (D:\Bamboo\bamboo-home\xml-data\build-dir\SON-FRON-JOB1\code\node_modules\update-notifier\index.js:34:17)
error   31-Mar-2016 14:15:50        at module.exports (D:\Bamboo\bamboo-home\xml-data\build-dir\SON-FRON-JOB1\code\node_modules\update-notifier\index.js:108:23)
error   31-Mar-2016 14:15:50        at Object.<anonymous> (D:\Bamboo\bamboo-home\xml-data\build-dir\SON-FRON-JOB1\code\node_modules\del-cli\cli.js:30:1)
error   31-Mar-2016 14:15:50        at Module._compile (module.js:435:26)
error   31-Mar-2016 14:15:50        at Object.Module._extensions..js (module.js:442:10)
@dizlexik
Copy link

dizlexik commented May 4, 2016

I'm having the same issue intermittently with AVA test runner when I run multiple test processes in parallel during my build. AVA uses update-notifier which uses configstore which uses write-file-atomic.

@larsthorup
Copy link

I also see this issue quite frequently with nodemon where I run multiple nodemon commands in parallel (for watching several micro services). nodemon uses update-notifier, etc.

@SimenB
Copy link
Contributor Author

SimenB commented Sep 23, 2016

Should be fixed by #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants