Skip to content
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

Calling function 'OpaqueToken', function calls are not supported. #551

Closed
xmlking opened this issue May 31, 2017 · 3 comments
Closed

Calling function 'OpaqueToken', function calls are not supported. #551

xmlking opened this issue May 31, 2017 · 3 comments

Comments

@xmlking
Copy link
Contributor

xmlking commented May 31, 2017

I'm submitting a ... (check one with "x")

[x] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Current behavior

ERROR in Error encountered resolving symbol values statically. Calling function 'OpaqueToken',
 function calls are not supported. Consider replacing the function or lambda with a reference to an 
exported function, resolving symbol USE_STORE in /xyx/node_modules/@ngx-
translate/core/src/translate.service.d.ts, resolving symbol TranslateModule.forRoot in 
/Developer/Work/iot/hub/node_modules/@ngx-translate/core/index.d.ts, resolving symbol 
AppModule in /xyz/src/app/app.module.ts, resolving symbol AppModule in 
/xyz/src/app/app.module.ts

Expected/desired behavior

ngx-translate/core should switch to Angular 4 recommended approach

Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • ngx-translate version: 6.0.1

  • Angular version: 4.2.0 RC1

  • Browser: all

@ramuda
Copy link

ramuda commented Sep 4, 2017

any update on this fix? its failing for angular 5 beta

@ocombe ocombe closed this as completed in 33aa181 Sep 4, 2017
@ocombe
Copy link
Member

ocombe commented Sep 4, 2017

I've merged it, new release inc, thanks !

@ramuda
Copy link

ramuda commented Sep 4, 2017

I've merged it, new release inc, thanks !

👍

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

No branches or pull requests

3 participants