AhsanAyaz / AhsanAyaz/ngx-device-detector
Incompatibility with prerender routes
- Lingua principale
- TypeScript
- Stelle
- 559
- Fork
- 106
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Describe the bug**
If we use prerender and routesFile in angular.json REQUEST token hasn't provided.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to angular.json
2. Setup "prerender": {
"discoverRoutes": false,
"routesFile": "routes.txt"
},
3. Provide routes.txt beside angular.json
4. Try to build and See error
An unhandled exception occurred: R3InjectorError(Standalone[o])[o -> o -> InjectionToken REQUEST -> InjectionToken REQUEST]:
NullInjectorError: No provider for InjectionToken REQUEST!
See "/tmp/ng-SbxhnB/angular-errors.log" for further details.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.