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

Error while parsing project #26

Closed
subramn opened this issue Dec 23, 2017 · 5 comments
Closed

Error while parsing project #26

subramn opened this issue Dec 23, 2017 · 5 comments

Comments

@subramn
Copy link

subramn commented Dec 23, 2017

I am getting the error - Error during parsing and make sure its compatible with Angular AOT Compiler

Function expressions are not supported in decorators. image attached

image

@mgechev
Copy link
Owner

mgechev commented Dec 23, 2017

@subramn can you compile your project with ngc?

@subramn
Copy link
Author

subramn commented Dec 23, 2017

files.zip
i am not using the angular cli. i run the following npm command
"build": "webpack --config webpack.config.js",

attached the tsconfig.json ,package.json and webpack.config for your reference in zip file.

@mgechev
Copy link
Owner

mgechev commented Dec 23, 2017

I will take a look and let you know. Thank you so much for the files! :-)

@mgechev
Copy link
Owner

mgechev commented Dec 23, 2017

@subramn config looks good. Do you have a minimal demo I can use to reproduce the problem? Do you use the userStateReducer in your application compiled with ngc?

@mgechev mgechev closed this as completed Dec 24, 2017
@mgechev
Copy link
Owner

mgechev commented Dec 24, 2017

Try 0.0.14.

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

2 participants