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 2021/03/30 13:09:16 UTC

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

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


   I have a lot of these issues also. Remove the platform Android before your step 5 where you remove those 3 directories, and then add platform again. Cordova prepare doesn't fetch npm modules and plugins, just cordova platform add.
   
   In short, try this sequence 
   
   ```
   cordova platform rm android
   rm -rf platforms/ plugins/ node_modules/
   cordova platform add android
   ```
   
   It should work on the latest version of cordova cli


-- 
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