Questions tagged «firebase-hosting»


5
属性“ firebase”在类型{production:boolean; }
因此,我试图在Firebase和Heroku上构建和部署Angular 4应用程序以进行生产,但是遇到了如下错误: / Users / ... / ...(57,49)中的错误:类型'{不存在属性'firebase'{production:boolean; }'。 它在我运行时发生ng build --prod,并且我的部署服务器运行正常。这是我的app.module.ts文件,以供参考: import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { AngularFireModule } from 'angularfire2'; import { AngularFireDatabaseModule } from 'angularfire2/database'; import { Ng2ScrollimateModule } from 'ng2-scrollimate'; import { …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.