Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Router 3.0.0-rc.1 #263

Closed
doczoidberg opened this issue Aug 15, 2016 · 2 comments
Closed

Router 3.0.0-rc.1 #263

doczoidberg opened this issue Aug 15, 2016 · 2 comments

Comments

@doczoidberg
Copy link

doczoidberg commented Aug 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]

@doczoidberg
Copy link
Author

after I tried the pusblish I now get the error:
Invalid provider - only instances of Provider and Type are allowed, got: [object Object]

@MarkPieszak
Copy link
Contributor

I haven't ran into that issue, but from the looks of it there are still plenty of issues with the v3 router even in rc1 (open issues). I'd maybe stick the previous beta version for now, maybe rc2 will fix whatever's going on!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants