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

Add option to skip check for updates #7

Closed
wants to merge 1 commit into from
Closed

Add option to skip check for updates #7

wants to merge 1 commit into from

Conversation

SimenB
Copy link

@SimenB SimenB commented Mar 31, 2016

del gives us an EPERM on our CI, would like to skip this check which makes the error go away

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)

@SimenB
Copy link
Author

SimenB commented Mar 31, 2016

Found out about --no-update-notifier which update-notifier checks after, so I suppose this can be closed

@sindresorhus
Copy link
Owner

Can you open an issue on https://github.com/yeoman/update-notifier? It should be more graceful handling that and ideally the issue should be fixed. I've seen people report it before on some other modules.

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

Successfully merging this pull request may close these issues.

None yet

2 participants