2017-09-05 19 views
0

ich versuche, das Plugin "cordova-plugin-Netzwerk-Informationen" (als Administrator) überionische 2.3.0 kippt Plugin über npm installieren

npm install --save @ionic-native/network

den Prozess hält an zu installieren:

/ postinstall: info lifecycle @ionic-native/[email protected]~postinstall: @ionic-native/[email protected]

und ich erhalte den folgenden Fehler:

npm ERR! path C:\path\node_modules\fsevents\node_modules\ansi-regex\package.json 
npm ERR! code EPERM 
npm ERR! errno -4048 
npm ERR! syscall unlink 
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\path\node_modules\fsevents\node_modules\ansi-regex\package.json' 
npm ERR!  at Error (native) 
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\path\node_modules\fsevents\node_modules\ansi-regex\package.json' 
npm ERR!  at Error (native) 
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink \'C:\\path\\node_modules\\fsevents\\node_modules\\ansi-regex\\package.json\'\n  
at Error (native)', 
npm ERR! errno: -4048, 
npm ERR! code: 'EPERM', 
npm ERR! syscall: 'unlink', 
npm ERR! path: 'C:\\path\\node_modules\\fsevents\\node_modules\\ansi- 
regex\\package.json' } 
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\username\AppData\Roaming\npm-cache\_logs\2017-09-05T09_43_58_528Z-debug.log 

Info:

cli Pakete: (C: \ Benutzer \ username.npm-Pakete \ node_modules)

@ionic/cli-utils : 1.9.2 
ionic (Ionic CLI) : 3.9.2 

globale Pakete:

Cordova CLI : 7.0.1 

lokale Pakete:

@ionic/app-scripts : 1.1.4 
Cordova Platforms : android 6.2.1 
Ionic Framework : ionic-angular 2.3.0 

System:

Node : v6.9.4 
npm : 5.4.0 
OS : Windows 10 

Bitte helfen Sie.

+0

gleiche Problem, wenn ich versuche, "npm i" :-( – hydrococcus

Antwort