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

Angular 6 AOT build error - Function calls are not supported in decorators but 'HighlightModule' was called #33

Closed
faizalmy opened this issue May 17, 2018 · 6 comments

Comments

@faizalmy
Copy link

Bug Report or Feature Request (mark with an x)

- [ x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] question

OS and Version?

Windows 10 Home

Versions

image

Repro steps

ng build --prod

My code in Module
image

The log given by the failure

image

@MurhafSousli
Copy link
Owner

Which version of ngx-highlightjs are you using? did you try 2.0.2?

@lipehnunes
Copy link

Same error here. I'm using 2.0.1

@MurhafSousli
Copy link
Owner

MurhafSousli commented May 18, 2018

This bug is fixed in 2.0.2

@faizalmy
Copy link
Author

How do I pull it using Yarn? yarn lib version still 2.0.1

@MurhafSousli
Copy link
Owner

Ops! I forgot to publish it!! try again it is available now

@faizalmy
Copy link
Author

Thanks!

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

3 participants