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/07/31 22:02:17 UTC

[GitHub] [cordova-lib] ath0mas edited a comment on issue #868: Dependencies are wiped on each step of project creation with cordova-lib and NPM 7

ath0mas edited a comment on issue #868:
URL: https://github.com/apache/cordova-lib/issues/868#issuecomment-890407257


   @raphinesse adding the option `save: true` solves the issue !! 🎉 
   
   When using npm 6 I don't see any difference between with and without this option (mostly for dependencies fetched and stored), while using npm 7 it seems needed to add it 👍 
   
   Indeed this option seems to be set to `true` using cli without options, and mostly none of `--nosave` or `--save` : [cli.js#L447](https://github.com/apache/cordova-cli/blob/master/src/cli.js#L447)


-- 
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: issues-unsubscribe@cordova.apache.org

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