ng-toolkit
ng-toolkit copied to clipboard
NullInjectorError: No provider for Compiler!
I'm submitting a...
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
In package
[ ] @ng-toolkit/init
[ ] @ng-toolkit/serverless
[x] @ng-toolkit/universal
[ ] @ng-toolkit/pwa
[ ] @ng-toolkit/firebug
Current behavior
Expected behavior
Compilation is successful and the project is going, but the site is down
Minimal reproduction of the problem with instructions
ng new project
cd project
npm i @ng-toolkit/universal
ng serve
Example repository
What is the motivation / use case for changing the behavior?
Environment
Angular version: 9.1.1
- Node version: 12.16.1
- Platform: Windows
Others:
Default settings of the angular
Probably a side effect of updating to Angular 9 while this library isn't ready to handle those changes. By looking at the error, it is hard to tell what's going on. if you can provide some sample repo to look at, I could check what's wrong.
To reproduce the error, install clean Angular 9.1.0 then libraries and start the server. This is enough to reproduce the error. I set everything from scratch a couple of times to make sure of this. I did not do any additional manipulations. During installation, I just chose scss and routing.
Hello. I wanted to ask if there is progress on my ticket?
Sorry mate, I haven't tested it yet, very busy with job in real life and getting tired to keep coding after all. I will try to check this on the weekend.
@JakaRua @KingDarBoja have a look here on this reply if it helps you out.