2017-11-26 27 views
1

エラーを示す、私はイオン性でAndroidプラットフォームを追加しようとしているが、そのが動作していない:それは次のエラーを示し、Iはイオン性でAndroidプラットフォームを追加しようとしているが、そのが動作していない、それは

C:\Users\Lenovo\Desktop\first app\RoomBooking>cordova platform add android 

Using cordova-fetch for [email protected]~6.3.0 
Error: Failed to fetch platform [email protected]~6.3.0 
Probably this is either a connection problem, or platform spec is incorrect. 
Check your connection and platform name/version/URL. 
Error: cmd: Command failed with exit code 4294963248 Error output: 
npm ERR! path C:\Users\Lenovo\Desktop\first app\RoomBooking\node_modules\.stagin 
g 
npm ERR! code EPERM 
npm ERR! errno -4048 
npm ERR! syscall unlink 
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\Lenovo\Desktop\ 
first app\RoomBooking\node_modules\.staging' 
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\Lenovo\Deskt 
op\first app\RoomBooking\node_modules\.staging' 
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink \'C:\\Users\\Le 
novo\\Desktop\\first app\\RoomBooking\\node_modules\\.staging\'', 
npm ERR! errno: -4048, 
npm ERR! code: 'EPERM', 
npm ERR! syscall: 'unlink', 
npm ERR! path: 'C:\\Users\\Lenovo\\Desktop\\first app\\RoomBooking\\node_modul 
es\\.staging' } 
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\Lenovo\AppData\Roaming\npm-cache\_logs\2017-11-26T21_56_46 
_792Z-debug.log 

は何べき私がやります?

+0

おそらく、これは接続の問題か、プラットフォームの仕様が間違っている可能性があります。接続とプラットフォーム名/バージョン/ URLを確認する –

答えて

0

おそらくnpmの問題です。 npmをダウングレードして、次のコマンドを実行してください。

npm install -g [email protected] 
関連する問題