This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Router 3.0.0-rc.1 #263
Closed
Description
is there any reason why Router rc.1 is not supported? I changed package.json
to Router 3.0.0-rc.1
and it seems to work at least on my local machine in development mode.
But when publishing I get the errors:
ERROR in D:\temp\simulaton1\node_modules\@angular\router\src\router_module.d.ts
PUBLISH(9,10): Error TS2305: Module '"D:/temp/simulaton1/node_modules/@angular/core/index"' has no exported member 'ModuleWithProviders'.
ERROR in D:\temp\simulaton1\node_modules\@angular\router\src\router.d.ts
PUBLISH(14,39): Error TS2305: Module '"D:/temp/simulaton1/node_modules/@angular/core/index"' has no exported member 'NgModuleFactoryLoader'.
ERROR in D:\temp\simulaton1\node_modules\@angular\router\src\common_router_providers.d.ts
PUBLISH(9,55): Error TS2305: Module '"D:/temp/simulaton1/node_modules/@angular/core/index"' has no exported member 'NgModuleFactoryLoader'.
And when running on Azure I get the JS error:
vendor.js?v=q8XzvTF_DTJOT7DL1Oy9K50isNCKoxrZNhoQGyG6uts:938 Uncaught Invalid provider - only instances of Provider and Type are allowed, got: [object Object]
Metadata
Metadata
Assignees
Labels
No labels