Skip to content

Angular 5 :( #64

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

Closed
tflori opened this issue Nov 15, 2017 · 6 comments
Closed

Angular 5 :( #64

tflori opened this issue Nov 15, 2017 · 6 comments
Assignees
Milestone

Comments

@tflori
Copy link
Owner

tflori commented Nov 15, 2017

Contributions would be highly appreciated, thanks in advance!

What to say? It throws errors when compiling and the tests don't run when installing angular 5...

At the moment I'm not developing a frontend and I'm not up to date what has changed... I don't know if angular 5 has any advantages - it's just breaking my code.

@tflori
Copy link
Owner Author

tflori commented Nov 15, 2017

small update: it's not throwing when compiling. it's throwing in browser because of the JitResolver is not in the public api anymore...

@tflori
Copy link
Owner Author

tflori commented Nov 16, 2017

next error:

ERROR Error: StaticInjectorError[Injector]: 
  StaticInjectorError[Injector]: 
    NullInjectorError: No provider for Injector!
    at _NullInjector.get (webpack-internal:///../../../core/esm5/core.js:1118)
    at resolveToken (webpack-internal:///../../../core/esm5/core.js:1406)
    at tryResolveToken (webpack-internal:///../../../core/esm5/core.js:1348)
    at StaticInjector.get (webpack-internal:///../../../core/esm5/core.js:1219)
    at resolveToken (webpack-internal:///../../../core/esm5/core.js:1406)
    at tryResolveToken (webpack-internal:///../../../core/esm5/core.js:1348)
    at StaticInjector.get (webpack-internal:///../../../core/esm5/core.js:1219)
    at resolveNgModuleDep (webpack-internal:///../../../core/esm5/core.js:10780)
    at _createClass (webpack-internal:///../../../core/esm5/core.js:10821)
    at _createProviderInstance$1 (webpack-internal:///../../../core/esm5/core.js:10791)
View_AppComponent_Host_0 @ ng:///AppModule/AppComponent_Host.ngfactory.js:5

@tflori
Copy link
Owner Author

tflori commented Nov 16, 2017

puh 😅 thats a bug of linking the project.. the node_modules exists and is used from webpack then the Injector exists two times and the StaticInjector only knows one of them...

@tflori
Copy link
Owner Author

tflori commented Nov 16, 2017

@mouragz can you please try [email protected] ?

@tflori
Copy link
Owner Author

tflori commented Nov 16, 2017

on angular-translator-demo it works: https://angular-translator-demo.my-first-domain.de/

@tflori tflori closed this as completed Nov 17, 2017
@mouragz
Copy link

mouragz commented Nov 19, 2017

@tflori @BorntraegerMarc thank you so much it's working fine now 💯

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

No branches or pull requests

2 participants