2017-09-08 11 views
0

何度も試してみましたが、私もグーグルではありましたが、イオンの安定性の問題だと思います!Youtube Video PlayerプラグインをIonic 3にインストールできない

私が実行します。

cordova plugin add https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git 

は、私はこのエラーを取得する:

Error: Failed to fetch plugin https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git via registry.

Probably this is either a connection problem, or plugin spec is incorrect.

Check your connection and plugin name/version/URL. Error: cmd: Command failed with exit code 4294963228 Error output: npm ERR! addLocal Could not install C:\Users\Houssem\AppData\Local\Temp\npm-3196-5b6372b9\git-cache-721c1a29\765b5954e78ecf7950099c10bfe5f81133f8f396

npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" " https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git " "--save"

npm ERR! node v6.10.0 npm ERR! npm v3.10.10 npm ERR! code EISDIR npm ERR! errno -4068 npm ERR! syscall read

npm ERR! eisdir EISDIR: illegal operation on a directory, read npm ERR! eisdir This is most likely not a problem with npm itself npm ERR! eisdir and is related to npm not being able to find a package.json in

npm ERR! eisdir a package you are trying to install.

npm ERR! Please include the following file with any support request:

npm ERR! F:\WORK\EBOOK\ebookmuhammed\node_modules\npm-debug.log

はそれを持つ:

cordova --version => 7.0.1 
ionic --version => 3.9.2 
npm --version  => 3.10.10 
+0

ディレクトリとしてファイルを読み込もうとしています。何かを推薦するにはあまりにも多くの提案がありますが、私はこれらの回答を見て、それがあなたの問題を解決するかどうかを見てみましょう:https://stackoverflow.com/questions/34959038/npm-stuck-giving-the-same-エラー-eisdir-ディレクトリ上での不正操作 - 読み込み-a – Aaron

+0

ありがとうございましたが、それは助けにはなりません –

答えて

1

まあ、エラーメッセージが何を言うん:

npm ERR! eisdir EISDIR: illegal operation on a directory, read npm ERR! eisdir This is most likely not a problem with npm itself npm ERR! eisdir and is related to npm not being able to find a package.json in

cordova 7.0.0 cordova-pluginsにはpackage.jsonファイル(Cordova 7.0.0 release notes)が必要です。したがって、プラグインをフォークして、別のプラグインのpackage.jsonファイルの内容をコピーし、そのプラグインに合ったものに置き換えてください(plugin.xmlはコピーに適しています)。package.json

+0

私はそのように早くなるでしょう –

関連する問題