Router 3.0.0-rc.1 #1433

Closed
opened 2025-08-09 17:20:07 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @doczoidberg on 8/15/2016

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]

*Originally created by @doczoidberg on 8/15/2016* 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]`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1433
No description provided.