I’m looking for some general guidance going forward.
I’ve got 2 Ionic 3 projects. One personal and one work one. The personal one is currently causing me the issues.
I can’t deploy to the browser because it doesn’t build the cordova_plugins.js file.
I’ve tried removing browser and adding browser, but this comes back
(node:19649) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: Unexpected token < in JSON at position 258 (node:19649) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I know my plugins are outdated (See below), but every time I update them, I get caught in “Dependency Hell” and have to go back to where I started and hope that it magically works again.
I’m concerned that if I update the Ionic CLI, the work project is going to break and that’s not going to be deployable.
Will updating the CLI break old projects?
Also, is it possible to run a V3 app and a V4 app on the same computer?
Any help would be much appreciated. As you can tell, I’m getting frustrated with this.
cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.2 ionic (Ionic CLI) : 3.20.0 global packages: cordova (Cordova CLI) : 8.0.0 local packages: @ionic/app-scripts : 3.2.4 Cordova Platforms : android 7.0.0 browser 5.0.4 ios 4.3.1 Ionic Framework : ionic-angular 3.9.2 System: Android SDK Tools : 26.1.1 Node : v8.0.0 npm : 2.15.12 OS : Linux 4.15 Environment Variables: ANDROID_HOME : /home/mark/Programs/Android/Sdk Misc: backend : pro