I work with Angular 7.1.4. I want to generate a new module with the following line;
ng g m order-process
But I encountered an error:
Invalid rule result: Instance of class Promise.
How to fix this? Node: 8.11.3
package.json ( https://prnt.sc/o3cg54 )
I'd solved my problem. My angular/cli version is 7.0.7 but I was find the @schematics/[email protected] in package-lock.json. So, I run the "npm install @schematics/[email protected] --save-dev" command and solved my problem. Thank you for interested.
Run npm install @schematics/[email protected] --save-dev
replace version with the same as your @angular/cli (in this scenario, 7.0.7)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With