For those of use with several projects, it’s important to maintain control over the versions of all modules involved in the process. For mobile projects, the platform and plugins are kept locally for each project, which works great.
Cordova CLI however, currently requires the -g option for global installation on the machine. Upgrading (for example to Cordova CLI 10 recently released) becomes a risk – is the developer ready for potential breaking changes across projects!
Cordova allows for local CLI installation (remove the -g) however Wappler appears to only support global. This request is for Wappler to support local Cordova CLI.
Anytime Wappler calls cordova, it should first look for and execute the local copy
node_modules/.bin/cordova
and if not found, then use the global cordova command.
Last updated: