npm windows missing write access
10,046
In my case it was a permission/owner issue. I deleted node_modules and ran npm install again without problems.
Author by
rakeen
Updated on June 04, 2022Comments
-
rakeen 6 months
I'm getting this message
npm WARN checkPermissions Missing Write Access to D:\my\path\node_module\bcryptwhile installing bcrypt package using
npm i bcryptI tried executing the commands from
cmdas an administrator and also frompowershell, nothing worked. I also cleared the cachenpm cache cleanand manually deleted%AppData%/npm_cachedirectory.I'm using:
npm 3.7.3
node 5.9.1
windows 7Why isn't npm getting the permission to write?
Note that npm can install and write other modules(i.e angular2,mongoose,express etc) just fine.