moust / cordova-plugin-videoplayer

A Codova plugin to play video with the native MediaPlayer on Android devices.
MIT License
139 stars 102 forks source link

Build error with CLI 6.2.0 #50

Closed riadapsis closed 6 years ago

riadapsis commented 6 years ago

When I am trying to build the apps, I got the following - Error - The following plugin, plugin version or a dependancy of this plugin is not on npm: com.moust.cordova.videoplayer@1.0.1

Here is my log - Build Date: 2018-03-10 08:56:34 +0000

PLUGIN OUTPUT

Fetching plugin "cordova-plugin-statusbar@2.1.3" via npm Installing "cordova-plugin-statusbar" at "2.1.3" for android Fetching plugin "cordova-plugin-device@1.1.2" via npm Installing "cordova-plugin-device" at "1.1.2" for android Fetching plugin "cordova-plugin-splashscreen@2.1.0" via npm Installing "cordova-plugin-splashscreen" at "2.1.0" for android Fetching plugin "cordova-plugin-compat@1.0.0" via npm Installing "cordova-plugin-compat" at "1.0.0" for android Fetching plugin "cordova-plugin-file@4.2.0" via npm Installing "cordova-plugin-file" at "4.2.0" for android Plugin dependency "cordova-plugin-compat@1.0.0" already fetched, using that version. Dependent plugin "cordova-plugin-compat" already installed on android.

The Android Persistent storage location now defaults to "Internal". Please check this plugins README to see if you application needs any changes in its config.xml.

If this is a new application no changes are required.

If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:

  "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"

to config.xml in order for the application to find previously stored files. Fetching plugin "cordova-plugin-file-transfer@1.5.1" via npm Installing "cordova-plugin-file-transfer" at "1.5.1" for android Plugin dependency "cordova-plugin-file@4.2.0" already fetched, using that version. Dependent plugin "cordova-plugin-file" already installed on android. Fetching plugin "cordova-plugin-camera@2.2.0" via npm Installing "cordova-plugin-camera" at "2.2.0" for android Plugin dependency "cordova-plugin-compat@1.0.0" already fetched, using that version. Dependent plugin "cordova-plugin-compat" already installed on android. Fetching plugin "cordova-plugin-dialogs@1.2.1" via npm Installing "cordova-plugin-dialogs" at "1.2.1" for android Fetching plugin "https://github.com/tanelih/phonegap-bluetooth-plugin.git" via git clone Using shallow clone Repository "https://github.com/tanelih/phonegap-bluetooth-plugin.git" checked out to git ref "master" at "b63bb9e". Installing "com.phonegap.plugins.bluetooth" at "0.9" for android Fetching plugin "cordova-plugin-media@2.3.0" via npm Installing "cordova-plugin-media" at "2.3.0" for android Plugin dependency "cordova-plugin-file@4.2.0" already fetched, using that version. Dependent plugin "cordova-plugin-file" already installed on android. Plugin dependency "cordova-plugin-compat@1.0.0" already fetched, using that version. Dependent plugin "cordova-plugin-compat" already installed on android. "plugman-151 install --platform android --project /project --plugin com.moust.cordova.videoplayer@1.0.1 --nohooks=.": Fetching plugin "com.moust.cordova.videoplayer@1.0.1" via npm Failed to fetch plugin com.moust.cordova.videoplayer@1.0.1 via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: Registry returned 404 for GET on https://registry.npmjs.org/com.moust.cordova.videoplayer

riadapsis commented 6 years ago

Installing via git repo resolved the problem. I don't know how but the error gone!!!