Can't install brunch on Windows 10 - Error: EPERM: operation not permitted, unlink
See original GitHub issueDescription
Can’t install brunch on Windows 10
Expected behavior
I expect npm install -g brunch
to install brunch
without errors.
Actual behavior
- No antivirus installed. Windows protection is turned off.
- All commands are run in as Administrator.
npm install -g brunch
C:\Users\foo\AppData\Roaming\npm\brunch -> C:\Users\foo\AppData\Roaming\npm\node_modules\brunch\bin\brunch
npm ERR! path C:\Users\foo\AppData\Roaming\npm\node_modules\brunch\node_modules\fsevents\node_modules\abbrev\package.json
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\foo\AppData\Roaming\npm\node_modules\brunch\node_modules\fsevents\node_modules\abbrev\package.json'
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\foo\AppData\Roaming\npm\node_modules\brunch\node_modules\fsevents\node_modules\abbrev\package.json'
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink \'C:\\Users\\foo\\AppData\\Roaming\\npm\\node_modules\\brunch\\node_modules\\fsevents\\node_modules\\abbrev\\package.json\'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\\Users\\foo\\AppData\\Roaming\\npm\\node_modules\\brunch\\node_modules\\fsevents\\node_modules\\abbrev\\package.json' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\foo\AppData\Roaming\npm-cache\_logs\2017-08-28T22_49_59_863Z-debug.log
Environment
Brunch:
Can't install it. That's the problem.
Node.js:
v8.4.0
NPM:
5.4.0
Operating system:
Microsoft Windows [Version 10.0.15063]
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error: EPERM: operation not permitted, unlink 'D:\Sources ...
I was able to fix this by running the command prompt/bash as admin and closing VSCode! Seems like VSCode was locking some files....
Read more >EPERM: operation not permitted, unlink chromedriver
On running yarn with a selenium-standalone dependency, you may encounter this error: yarn install v1.3.2 [1/4] Resolving packages.
Read more >How to Install Chrome OS Flex on Windows PC, Laptop, and ...
Learn how to install Chrome OS Flex on Windows PC, laptop, or MacBook for free. Check out the requirements and steps to run...
Read more >chokidar-next - npm
Node.js fs.watchFile : Almost as bad at event handling. Also does not provide any recursive watching. Results in high CPU ...
Read more >Fuo - River Thames Conditions - Environment Agency - GOV.UK
Paleo breakfast proteins, Glass dining room sets modern, Balbina nichtstun mit ... Sternenlieder, Eperm operation not permitted unlink, Deco fairs brighton, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bxqgit Try rolling back to 5.3.0.
npm i -g npm@5.3.0
There is likely an issue with 5.4.0I will go ahead and close this issue. Please reopen if the problem is in Brunch core.