我在安装星云时得到了这个

时间:2019-07-03 21:21:58

标签: angular installation nebular

我正在运行具有scss且没有路由的Angular应用程序。我安装了一个名为Nebular的应用,现在需要运行此“ npm install --save @ nebular / theme @ angular / cdk @ angular / animations” 我仍然收到此错误...

npm ERR! path C:\Users\silas\Documents\django\Alpha\Alpha01\node_modules\@angular\cdk\node_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall mkdir
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Users\silas\Documents\django\Alpha\Alpha01\node_modules\@angular\cdk\node_modules'
npm ERR!  { [Error: EPERM: operation not permitted, mkdir 'C:\Users\silas\Documents\django\Alpha\Alpha01\node_modules\@angular\cdk\node_modules']
npm ERR!   cause:
npm ERR!    { Error: EPERM: operation not permitted, mkdir 'C:\Users\silas\Documents\django\Alpha\Alpha01\node_modules\@angular\cdk\node_modules'
npm ERR!      errno: -4048,
npm ERR!      code: 'EPERM',
npm ERR!      syscall: 'mkdir',
npm ERR!      path:
npm ERR!       'C:\\Users\\silas\\Documents\\django\\Alpha\\Alpha01\\node_modules\\@angular\\cdk\\node_modules' },
npm ERR!   stack:
npm ERR!    'Error: EPERM: operation not permitted, mkdir \'C:\\Users\\silas\\Documents\\django\\Alpha\\Alpha01\\node_modules\\@angular\\cdk\\node_modules\'',
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'mkdir',
npm ERR!   path:
npm ERR!    'C:\\Users\\silas\\Documents\\django\\Alpha\\Alpha01\\node_modules\\@angular\\cdk\\node_modules',
npm ERR!   parent: 'Alpha01' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\silas\AppData\Roaming\npm-cache\_logs\2019-07- 
03T21_06_43_185Z-debug.log

0 个答案:

没有答案