javascript - npm lodash install issue? -


i trying install lodash through npm on project , every time try install project err:

d:\github\sandbox\ngrx-store>npm install --save lodash npm err! path d:\github\sandbox\ngrx-store\node_modules\fsevents\node_modules\aws-sign2\package.json npm err! code eperm npm err! errno -4048 npm err! syscall unlink npm err! error: eperm: operation not permitted, unlink 'd:\github\sandbox\ngrx-store\node_modules\fsevents\node_modules\aws-sign2\package.json' npm err! { error: eperm: operation not permitted, unlink 'd:\github\sandbox\ngrx-store\node_modules\fsevents\node_modules\aws-sign2\package.json' npm err! stack: 'error: eperm: operation not permitted, unlink \'d:\github\sandbox\ngrx-store\node_modules\fsevents\node_modules\aws-sign2\package.json\'', npm err! errno: -4048, npm err! code: 'eperm', npm err! syscall: 'unlink', npm err! path: 'd:\github\sandbox\ngrx-store\node_modules\fsevents\node_modules\aws-sign2\package.json' } npm err! npm err! please try running command again root/administrator.

npm err! complete log of run can found in: npm err! c:\users\perry craft\appdata\roaming\npm-cache_logs\2017-09-10t21_35_04_683z-debug.log

is there ways install lodash , @types/lodash way angular 4 project.

same thing happened me. so, try re-installing nodejs , run npm install again. after try, npm -g npm , install npm --save lodash. hope works also.


otherwise, try downloading file locally https://lodash.com/ or try use cdn.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -