@Mihail_Tropin
C++ и Python = my love

Ошибка в ng new?

При вводе ng new app выходит ошибка(независимо от того, администратор ли cmd или нет)
npm ERR! path D:\CODE\app1\node_modules\.staging\typescript-b6fa0f51\lib\typescriptServices.js
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'D:\CODE\app1\node_modules\.staging\typescript-b6fa0f51\lib\typescriptServices.js'
npm ERR!  { [Error: EPERM: operation not permitted, unlink 'D:\CODE\app1\node_modules\.staging\typescript-b6fa0f51\lib\typescriptServices.js']
npm ERR!   cause:
npm ERR!    { Error: EPERM: operation not permitted, unlink 'D:\CODE\app1\node_modules\.staging\typescript-b6fa0f51\lib\typescriptServices.js'
npm ERR!      errno: -4048,
npm ERR!      code: 'EPERM',
npm ERR!      syscall: 'unlink',
npm ERR!      path:
npm ERR!       'D:\\CODE\\app1\\node_modules\\.staging\\typescript-b6fa0f51\\lib\\typescriptServices.js' },
npm ERR!   stack:
npm ERR!    'Error: EPERM: operation not permitted, unlink \'D:\\CODE\\app1\\node_modules\\.staging\\typescript-b6fa0f51\\lib\\typescriptServices.js\'',
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'unlink',
npm ERR!   path:
npm ERR!    'D:\\CODE\\app1\\node_modules\\.staging\\typescript-b6fa0f51\\lib\\typescriptServices.js',
npm ERR!   parent: 'app1' }
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\User\AppData\Roaming\npm-cache\_logs\2019-09-29T12_33_17_568Z-debug.log
Package install failed, see above.
  • Вопрос задан
  • 191 просмотр
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы