Installation of aspnet-webpack fails #294

Closed
opened 2025-08-09 17:15:44 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @mgregory22 on 12/4/2017

I'm trying to follow the "Installation into existing projects" section of the Microsoft.AspNetCore.SpaServices readme, but I'm running into an error trying to install the aspnet-webpack package.

It seems to have a dependency on fsevents, but I'm on a PC?

$ npm install --save-dev aspnet-webpack
npm ERR! path C:\TestProject\node_modules\fsevents\node_modules\dashdash\node_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall scandir
npm ERR! Error: EPERM: operation not permitted, scandir 'C:\TestProject\node_modules\fsevents\node_modules\dashdash\node_modules'
npm ERR!  { Error: EPERM: operation not permitted, scandir 'C:\TestProject\node_modules\fsevents\node_modules\dashdash\node_modules'
npm ERR!   stack: 'Error: EPERM: operation not permitted, scandir \'C:\\TestProject\\node_modules\\fsevents\\node_modules\\dashdash\\node_modules\'',
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'scandir',
npm ERR!   path: 'C:\\TestProject\\node_modules\\fsevents\\node_modules\\dashdash\\node_modules' }
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\Matt\AppData\Roaming\npm-cache\_logs\2017-12-04T16_21_18_453Z-debug.log
*Originally created by @mgregory22 on 12/4/2017* I'm trying to follow the "Installation into existing projects" section of the Microsoft.AspNetCore.SpaServices readme, but I'm running into an error trying to install the aspnet-webpack package. It seems to have a dependency on fsevents, but I'm on a PC? ``` $ npm install --save-dev aspnet-webpack npm ERR! path C:\TestProject\node_modules\fsevents\node_modules\dashdash\node_modules npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall scandir npm ERR! Error: EPERM: operation not permitted, scandir 'C:\TestProject\node_modules\fsevents\node_modules\dashdash\node_modules' npm ERR! { Error: EPERM: operation not permitted, scandir 'C:\TestProject\node_modules\fsevents\node_modules\dashdash\node_modules' npm ERR! stack: 'Error: EPERM: operation not permitted, scandir \'C:\\TestProject\\node_modules\\fsevents\\node_modules\\dashdash\\node_modules\'', npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'scandir', npm ERR! path: 'C:\\TestProject\\node_modules\\fsevents\\node_modules\\dashdash\\node_modules' } 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\Matt\AppData\Roaming\npm-cache\_logs\2017-12-04T16_21_18_453Z-debug.log ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#294
No description provided.