Closed b-area closed 7 years ago
@b-area I think probably the suggestion will be to upgrade to the 4.0.0-rc before any troubleshooting can be done. The 2.0.0 beta versions are not compatible with Angular v4+.
What mark said. I had the same problem initially.
Just upgrade AF2 to v4rc0 and the problem will go away.
We will try to upgrade. Thank you.
Reopen if you have troubles with the rc
We are currently using the
"angularfire2": "^2.0.0-beta.8"
with our production. We haven't changed anything on our repo, but it looks like when we do a fresh npm install, it won't compile anymore. We have tried to update to the most recent version of angularfire2, it compiles fine, but it won't run on any browser.This is an angular-cli project using the AOT
Error
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 Injectable in /user/projects/test/tike-frontend-aot/node_modules/angularfire2/node_modules/@angular/core/src/di/metadata.d.ts, resolving symbol Injectable in /user/projects/test/tike-frontend-aot/node_modules/angularfire2/node_modules/@angular/core/src/di.d.ts, resolving symbol Injectable in /user/projects/test/tike-frontend-aot/node_modules/angularfire2/node_modules/@angular/core/src/core.d.ts, resolving symbol Injectable in /user/projects/test/tike-frontend-aot/node_modules/angularfire2/node_modules/@angular/core/index.d.ts, resolving symbol AngularFireAuth in /user/projects/test/tike-frontend-aot/node_modules/angularfire2/auth/auth.d.ts, resolving symbol AngularFireAuth in /user/projects/test/tike-frontend-aot/node_modules/angularfire2/auth/auth.d.ts
ERROR in ./src/main.ts Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/users/project/test/tike-frontend-aot/src' @ ./src/main.ts 5:0-74 @ multi ./src/main.ts
package.json