miickel / gulp-angular-templatecache

Concatenates and registers AngularJS templates in the $templateCache.
MIT License
525 stars 103 forks source link

EPERM: operation not permitted #146

Closed AntonRand closed 7 years ago

AntonRand commented 7 years ago

Hi All,

Trying to add this module to my existing Gulp project. When doing so I'm getting the following error, full stack trace attached here

1238 verbose unlock done using C:\Users\arand\AppData\Roaming\npm-cache\_locks\staging-a3a2722ca1d1e8cb.lock for C:\Projects\Desktop\Resonsive-Dev\build-tools\gulp\node_modules\.staging
1239 verbose stack Error: EPERM: operation not permitted, scandir 'C:\Projects\Desktop\Resonsive-Dev\build-tools\gulp\node_modules\fsevents\node_modules\dashdash\node_modules'
1240 verbose cwd C:\Projects\Desktop\Resonsive-Dev\build-tools\gulp
1241 verbose Windows_NT 6.1.7601
1242 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
1243 verbose node v8.6.0
1244 verbose npm  v5.3.0
1245 error path C:\Projects\Desktop\Resonsive-Dev\build-tools\gulp\node_modules\fsevents\node_modules\dashdash\node_modules
1246 error code EPERM
1247 error errno -4048
1248 error syscall scandir
1249 error Error: EPERM: operation not permitted, scandir 'C:\Projects\Desktop\Resonsive-Dev\build-tools\gulp\node_modules\fsevents\node_modules\dashdash\node_modules'
1249 error  { Error: EPERM: operation not permitted, scandir 'C:\Projects\Desktop\Resonsive-Dev\build-tools\gulp\node_modules\fsevents\node_modules\dashdash\node_modules'
1249 error   stack: 'Error: EPERM: operation not permitted, scandir \'C:\\Projects\\Desktop\\Resonsive-Dev\\build-tools\\gulp\\node_modules\\fsevents\\node_modules\\dashdash\\node_modules\'',
1249 error   errno: -4048,
1249 error   code: 'EPERM',
1249 error   syscall: 'scandir',
1249 error   path: 'C:\\Projects\\Desktop\\Resonsive-Dev\\build-tools\\gulp\\node_modules\\fsevents\\node_modules\\dashdash\\node_modules' }
1250 error Please try running this command again as root/Administrator.
1251 verbose exit [ -4048, true ]

Any ideas appreciated, thank you.

AntonRand commented 7 years ago

Not relating to this project, my issue was the following - https://github.com/coreybutler/nvm-windows/issues/300