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 during build with newer angular-cli #22

Closed
Rosseyn opened this issue Feb 4, 2017 · 2 comments
Closed

Error during build with newer angular-cli #22

Rosseyn opened this issue Feb 4, 2017 · 2 comments

Comments

@Rosseyn
Copy link

Rosseyn commented Feb 4, 2017

More recent versions of angular-cli fail to build when angular2-markdown is imported.

ERROR in Error encountered resolving symbol values statically. Calling function 
'makeDecorator', function calls are not supported. 
Consider replacing the function or lambda with a reference to an exported function, 
resolving symbol NgModule in 
/node_modules/angular2-markdown/node_modules/@angular/core/src/metadata/ng_module.d.ts, 
resolving symbol NgModule in 
/node_modules/angular2-markdown/node_modules/@angular/core/src/metadata.d.ts, 
resolving symbol NgModule in 
/node_modules/angular2-markdown/node_modules/@angular/core/src/core.d.ts, 
resolving symbol NgModule in 
/node_modules/angular2-markdown/node_modules/@angular/core/index.d.ts, 
resolving symbol MarkdownModule in 
/node_modules/angular2-markdown/src/app/markdown/markdown.module.ts, 
resolving symbol MarkdownModule in 
/node_modules/angular2-markdown/src/app/markdown/markdown.module.ts

Don't get an error if it's added when ng serve is already running, but a fresh ng build or ng serve will be halted on this error.

@Plow74
Copy link

Plow74 commented Feb 10, 2017

I just upgraded and seeing this too.

@dimpu
Copy link
Owner

dimpu commented Feb 19, 2017

upgrade to latest version. I fix all typescript related build issues.

@dimpu dimpu closed this as completed Feb 19, 2017
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