-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: You must pass in a NgModule or NgModuleFactory to be bootstrapped #2172
Comments
Can you run the following;
Typically it's not recommended to update multiply major versions at once. |
@alan-agius4 I had updated one version at a time, and tried running both commands didn't yield any changes |
In that case please share your |
@alan-agius4 i would love to share but the whole |
Also was curious to know what is that we were expecting from this update commands |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
What modules are related to this issue?
Is this a regression?
Yes, the previous version in which this bug was not present was: ....Version 8
Description
A clear and concise description of the problem...The local build and server build works ie. compiles fine, but when i run node dist/server.js i get the following error
So initially i browsed for a few post and figured that i need to replace
AppServerModuleNgFactory
withAppServerModule
and then i started getting the following error.
I had updated from version 8 to 12. I also tried running
ng update @nguniversal/express-engine
but that didn't yield any output.any clues on how to fix would be great.
🔬 Minimal Reproduction
Unable to reproduce
🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: