dpa99c / cordova-check-plugins

A CLI tool to check for / manage plugin updates in Cordova/Phonegap projects.
217 stars 25 forks source link

fails after cordova clean #16

Closed cordovapolymer closed 7 years ago

cordovapolymer commented 7 years ago

cordova-check-plugins fails after doing cordova clean when a plugin update is available. the error says: /platforms/android/assets/www/cordova_plugins.js is missing

dpa99c commented 7 years ago

I'm not able to reproduce this (see console output below). The tool makes no reference to the file specified in your error message - it uses plugins/fetch.json to find details of locally installed plugins, and makes no direct reference to platform-specific files. Please post the full verbose log output which illustrates the issue using cordova-check-plugins --verbose.

Console output ``` $ cordova platform add android Adding android project... Creating Cordova project for the Android platform: Path: platforms\android Package: io.cordova.hellocordova Name: HelloCordova Activity: MainActivity Android target: android-24 Subproject Path: CordovaLib Android project created with cordova-android@6.0.0 Installing "cordova-plugin-camera" for android ANDROID_HOME=C:\Users\Admin\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101 Subproject Path: CordovaLib Starting a new Gradle Daemon for this build (subsequent builds will be faster). Parallel execution with configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. :clean :CordovaLib:clean BUILD SUCCESSFUL Total time: 16.239 secs Installing "cordova-plugin-device" for android ANDROID_HOME=C:\Users\Admin\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101 Subproject Path: CordovaLib Parallel execution with configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. :clean :CordovaLib:clean BUILD SUCCESSFUL Total time: 2.221 secs Installing "cordova-plugin-geolocation" for android ANDROID_HOME=C:\Users\Admin\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101 Subproject Path: CordovaLib Parallel execution with configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. :clean :CordovaLib:clean BUILD SUCCESSFUL Total time: 1.611 secs Installing "cordova.plugins.diagnostic" for android ANDROID_HOME=C:\Users\Admin\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101 Subproject Path: CordovaLib Parallel execution with configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. :clean :CordovaLib:clean BUILD SUCCESSFUL Total time: 1.518 secs $ cordova prepare android $ cordova clean ANDROID_HOME=C:\Users\Admin\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101 Subproject Path: CordovaLib Parallel execution with configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. :clean :CordovaLib:clean BUILD SUCCESSFUL Total time: 1.722 secs $ cordova-check-plugins *************************** * Plugin update available * *************************** plugin: cordova.plugins.diagnostic source: npm://cordova.plugins.diagnostic@~2.0.0 installed version: 2.0.0 target version: 2.0.1 ********************** * Up-to-date plugins * ********************** plugin: cordova-plugin-device source: npm://cordova-plugin-device@1.0.0 installed version: 1.0.0 target version: 1.0.0 plugin: cordova-plugin-camera source: npm://cordova-plugin-camera@1.0 installed version: 1.0.0 target version: 1.0.0 plugin: cordova-plugin-geolocation source: npm://cordova-plugin-geolocation@1 installed version: 1.0.1 target version: 1.0.1 ```