Error Adding Universal: "Invalid rule result instance of class promise"
See original GitHub issue🐞 Bug report
What modules are related to this issue?
- aspnetcore-engine
- builders
- common
- express-engine
- hapi-engine
- module-map-ngfactory-loader
Description
- Trying to remove node_modules, package-lock, and update latest version.
🔬 Minimal Reproduction
- ng add @nguniversal/express-engine
🔥 Exception or Error
Invalid rule result: Instance of class Promise.
🌍 Your Environment
Angular CLI: 9.1.5
Node: 12.16.1
OS: darwin x64
Angular: 9.1.6
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.901.5
@angular-devkit/build-angular 0.901.5
@angular-devkit/build-optimizer 0.901.5
@angular-devkit/build-webpack 0.901.5
@angular-devkit/core 7.3.10
@angular-devkit/schematics 7.3.10
@angular/cdk 9.2.3
@angular/cli 9.1.5
@angular/material 9.2.3
@ngtools/webpack 9.1.5
@nguniversal/common 9.1.0
@nguniversal/express-engine 9.1.0
@schematics/angular 9.1.5
@schematics/update 0.901.5
rxjs 6.5.5
typescript 3.8.3
webpack 4.42.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error on adding Universal: "Invalid rule result instance of class ...
What is the current behavior? The installation quits part way with the error message: Invalid rule result instance of class promise. I'm stuck ......
Read more >Invalid rule result: Instance of class Promise - Stack Overflow
I'd solved my problem. My angular/cli version is 7.0.7 but I was find the @schematics/angular@8.0.3 in package-lock.json.
Read more >Error on adding Universal: "Invalid rule result instance of class ...
What is the expected behavior? On this command: ng add @nguniversal/express-engine --clientProject black-dashboard-pro-angular. I expect Universal installation ...
Read more >[Solved]-Invalid rule result: Instance of class Promise-angular.js
I'd solved my problem. My angular/cli version is 7.0.7 but I was find the @schematics/angular@8.0.3 in package-lock.json. So, I run the "npm install ......
Read more >Invalid Rule Result: Instance Of Class Promise - ADocLib
While i am creating a new component in angular cli i get the above error as Invalid rule result: Instance of class Promise....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Probably has something to do with the fact that you’re using outdated
@angular-devkit
dependencies. Can you upgrade and try again?This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.