-
Notifications
You must be signed in to change notification settings - Fork 200
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
Translate Service NullInjection problem while prerendering #257
Comments
your latest update also gives an error once a pretender triggered from the terminal: `
Compiling @angular/core : fesm2015 as esm2015 added 2200 packages, and audited 2201 packages in 57s 109 packages are looking for funding 35 vulnerabilities (7 low, 14 moderate, 12 high, 2 critical) To address issues that do not require attention, run: To address all issues (including breaking changes), run: Run
Option "extractCss" is deprecated: Deprecated since version 11.0. No longer required to disable CSS extraction for HMR. Initial Chunk Files | Names | Size
Lazy Chunk Files | Names | Size Build at: 2021-06-22T10:11:33.510Z - Hash: 3a92b263d28b88b8e254 - Time: 89553ms Initial Chunk Files | Names | Size
Build at: 2021-06-22T10:11:37.093Z - Hash: 56cd3d2c247f628d5528 - Time: 86876ms |
when run ````npm run prerender`` it shows error missing REQUEST token injection Angular-RU#257 reference: https://parrot.ru/angular_universal_ru/s2/00001/635.html
Hi @abdurrahmanarikan , please check my PR |
when run ````npm run prerender`` it shows error missing REQUEST token injection #257 reference: https://parrot.ru/angular_universal_ru/s2/00001/635.html
Hi
When we prerender the angular repo, we always get below error message:
NullInjectorError: R3InjectorError(AppServerModule)[ApplicationModule -> ApplicationRef -> ApplicationInitStatus -> InjectionToken Application Initializer -> [object Object] -> TranslatesService -> InjectionToken REQUEST -> InjectionToken REQUEST -> InjectionToken REQUEST]:
NullInjectorError: No provider for InjectionToken REQUEST!
those are our pretender and translate service files
prerenter.ts
translatesservice.ts
Could you help ?
The text was updated successfully, but these errors were encountered: