I had an issue with Ionic native not working on the browser (ionic serve) and one suggestion was that I delete the node_modules folder and run npm install. After doing this, I have the error:
[ERROR] app-scripts serve unexpectedly failed.settings: undefinedcontext: [object Object]
and execution appears to exit back to the prompt but immediately shows
(node:4860) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: channel closed
(node:4860) 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.
No idea what’s causing this and what settings it’s looking for. I’d appreciate any assistance.
My setup is as below
ionic info
global packages:
@ionic/cli-utils : 1.1.1
Cordova CLI : 7.0.1
Ionic CLI : 3.1.1
local packages:
@ionic/app-scripts : 1.3.7
@ionic/cli-plugin-cordova : 1.1.1
@ionic/cli-plugin-ionic-angular : 1.1.1
Ionic Framework : ionic-angular 3.2.1
System:
Node : v7.6.0
OS : Linux 4.8
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed
Thanks.