breautek commented on issue #135:
URL: 
https://github.com/apache/cordova-plugin-network-information/issues/135#issuecomment-926094512


   Cordova actually caches plugins into the `plugins/` folder and will reuse 
that (stupidly imo) if the plugin already exists there, even if it's not the 
requested version.
   
   `cordova plugin remove <plugin>` and reinstalling a different version will 
update the plugin.
   
   I wouldn't recommend deleting `package.json` though... that contains 
information that isn't reconstructed.
   
   If you want to nuke and rebuild from a clean slate you'd delete:
   
   - node_modules/
   - package-lock.json
   - platforms/
   - plugins/
   
   Then
   
   ```
   npm install
   cordova platform add <your-platform>
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to