This repository has been archived by the owner on May 1, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(serve): if a build error occurs, return config if non-fatal
The promise chain is restored by a .catch(), so we need to continue the chain with the appropriate resolved value. This should fix ionic-team/ionic-cli#2247
- Loading branch information
e5a4134
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit solves that problem:
[ERROR] app-scripts serve unexpectedly failed.settings: undefinedcontext: [object Object]
e5a4134
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have that problem [ERROR] app-scripts serve unexpectedly failed.settings: undefinedcontext: [object Object]
and this in the next line:
(node:10095) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: channel closed
ionic info :
global packages:
local packages:
System:
right now I have this work around "npm run ionic:serve"