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
build fails on angular-cli in prod mode. make AOT complicit. #17
Comments
Hi @rajesh-kanakabandi , |
@tiberiuzuld thank you for the response. |
Hi @rajesh-kanakabandi , |
@tiberiuzuld the AOT build is causing these errors on the console(these seem to be introduced in version 2.5.0 when updated to use angular4). is there any way to make this work with angular 2.x.x
when I load the page on a browser, I see this error.
@angular/cli: 1.0.0-beta.32.3 [1.0.0-beta.26]
|
Hi @rajesh-kanakabandi , The migration for a angular2 app to angular4 should be easy enough. So I am sorry but you will have to upgrade your app to angular4 and angular-cli@1.0.0 to be able to use AOT. |
ERROR in Error encountered resolving symbol values statically. Calling function 'require', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol GridsterComponent in /home/dashboard-ui/node_modules/angular-gridster2/dist/gridster.component.d.ts, resolving symbol GridsterComponent in /home/dashboard-ui/node_modules/angular-gridster2/dist/gridster.component.d.ts
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/home/dashboard-ui/src'
@ ./src/main.ts 5:0-74
@ multi ./src/main.ts
The text was updated successfully, but these errors were encountered: