ошибка npm, невозможно установить пакеты в windows 10 - PullRequest
0 голосов
/ 03 сентября 2018
npm ERR! path xx\node_modules\.staging\antd- 
b20edf17\dist\antd-with-locales.min.js.map
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 
         'xx\node_modules\.staging\antd- 
b20edf17\dist\antd-with-locales.min.js.map'
npm ERR!  { Error: EPERM: operation not permitted, unlink 
          'xx\node_modules\.staging\antd- 
b20edf17\dist\antd-with-locales.min.js.map'
npm ERR!   cause:
npm ERR!    { Error: EPERM: operation not permitted, unlink 
         'xx\node_modules\.staging\antd-b20edf17\dist\antd-with- 
         locales.min.js.map'
npm ERR!      errno: -4048,
npm ERR!      code: 'EPERM',
npm ERR!      syscall: 'unlink',
npm ERR!      path: 'xx\\node_modules\\.staging\\antd-b20edf17\\dist\\antd- 
              with- locales.min.js.map' },
npm ERR!   stack: 'Error: EPERM: operation not permitted, unlink 
           \'xx\\node_modules\\.staging\\antd- b20edf17\\dist\\antd-with- 
           locales.min.js.map\'',
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'unlink',
npm ERR!   path: 'xx\\node_modules\\.staging\\antd-b20edf17\\dist\\antd-with- 
locales.min.js.map',
npm ERR!   parent: 'web-admin' }
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!     D:\nodejs\node_cache\_logs\2018-09-03T15_14_15_333Z-debug.log

Я не могу установить с разрешения администратора. Когда я использую установку, я застреваю в середине и никогда не загружаюсь. Мой NPM является последней версией 6.4.0 , И я глобально установлен , Почему это так? Может ли кто-нибудь помочь мне взглянуть на это? Спасибо

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...