You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/29 07:32:18 UTC

[GitHub] [cordova-cli] aidanas commented on issue #508: Plugins are not restored from package.json but only from config.xml

aidanas commented on issue #508:
URL: https://github.com/apache/cordova-cli/issues/508#issuecomment-650985336


   @erisu, thanks for the heads up!
    I can confirm that using Cordova 10 nightly build (`10.0.0-nightly.2020.6.29.7b8e8678`) it seems to restore plugins OK.
   
   I get however `Cannot find module 'properties-parser'` error but that could be just broken nightly build of some other unrelated issue on my end.  
   ```
   Aidanass-MBP:testPluginRestore aidanas$ npx cordova prepare android
   Warning: using prerelease version 10.0.0-nightly.2020.6.29.7b8e8678 (cordova-lib@10.0.0-nightly.2020.6.29.1339ed51)
   Discovered platform "android". Adding it to the project
   Using cordova-fetch for cordova-android@^8.1.0
   Adding android project...
   Creating Cordova project for the Android platform:
           Path: platforms/android
           Package: com.example.testpluginrestore
           Name: TestPluginRestore
           Activity: MainActivity
           Android target: android-28
   Subproject Path: CordovaLib
   Subproject Path: app
   Android project created with cordova-android@8.1.0
   Discovered plugin "cordova-plugin-whitelist". Adding it to the project
   Installing "cordova-plugin-whitelist" for android
   Discovered plugin "cordova-plugin-geolocation". Adding it to the project
   Installing "cordova-plugin-geolocation" for android
   Cannot find module 'properties-parser'
   Aidanass-MBP:testPluginRestore aidanas$ cordova plugin ls
   cordova-plugin-geolocation 4.0.2 "Geolocation"
   cordova-plugin-whitelist 1.3.4 "Whitelist"
   
   ```
   Any ETA on Cordova 10 release dates? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org