-
Notifications
You must be signed in to change notification settings - Fork 19
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
Cannot build project with aot #3
Comments
More info here angular/angular-cli#3706 |
I have the same problem too. |
@alexeyvasilyev did you find any workaround / solution? |
I am using these tools @angular/cli: 1.0.0-rc.0 |
No. Haven't find. |
I had to alter some of the syntax in my recent pull request and I am wondering if this at all helps solve your own issues. I am looking to have more eyes on my pull request, please take a look : #4 |
My fork supports AOT. It's on NPM : https://www.npmjs.com/package/ack-angular-fx |
ng build --prod --aot
ERROR in Error encountered resolving symbol values statically. Only initialized variables and constants can be referenced because the value of this variable is needed by the template compiler (position 2:22 in the original .ts file), resolving symbol animateFactory in /Users/alex/Projects/my_proj/client/web_angular/node_modules/ng2-animate/dist/index.d.ts, resolving symbol EventComponent in /Users/alex/Projects/my_proj/client/web_angular/src/app/components/event.component.ts, resolving symbol EventComponent in /Users/alex/Projects/my_proj/client/web_angular/src/app/components/event.component.ts, resolving symbol EventComponent in /Users/alex/Projects/my_proj/client/web_angular/src/app/components/event.component.ts
ERROR in ./src/main.ts Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/Users/alex/Projects/my_proj/client/web_angular/src' @ ./src/main.ts 4:0-74 @ multi main
ERROR in ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js Module not found: Error: Can't resolve '/Users/alex/Projects/my_proj/client/web_angular/src/$$_gendir' in '/Users/alex/Projects/my_proj/client/web_angular/node_modules/@angular/core/src/linker' @ ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js 69:15-36 85:15-102 @ ./~/@angular/core/src/linker.js @ ./~/@angular/core/src/core.js @ ./~/@angular/core/index.js @ ./src/main.ts @ multi main
Project made with angular-cli 1.0.0-beta.24
The text was updated successfully, but these errors were encountered: