1
resposta

ERRO NO NPM INSTALL

SEGUE O ERRO QUE ACONTECE NA MINHA MAQUINA:

npm install npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm ERR! path C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json.2990462862 npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall rename npm ERR! Error: EPERM: operation not permitted, rename 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json.2990462862' -> 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json' npm ERR! { Error: EPERM: operation not permitted, rename 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json.2990462862' -> 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json' npm ERR! cause: npm ERR! { Error: EPERM: operation not permitted, rename 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json.2990462862' -> 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json' npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json.2990462862', npm ERR! dest: 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json' }, npm ERR! stack: 'Error: EPERM: operation not permitted, rename 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json.2990462862' -> 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json'', npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json.2990462862', npm ERR! dest: 'C:\Users\jorne\Desktop\Alura\alurapic\node_modules\babel-helper-hoist-variables\package.json', npm ERR! parent: 'alurapic' } 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\jorne\AppData\Roaming\npm-cache_logs\2018-08-15T14_43_34_753Z-debug.log

*OBS: USO O NODE v8.11.1 e VUE v2.7.0

1 resposta

Fala ai Jorge, beleza? Aparentemente o problema está relacionado a permissionamento, tente abrir o prompt como administrador e executar o comando novamente.

Espero ter ajudado