我们目前正在开发一个Angular网站,它也支持Android应用程序,在我们的第一次开发中,我们能够配置动态链接,它在Angular和Android应用程序之间工作得很好。 我们在angular上做了一个新的更新。 部署几个小时后,我注意到动态链接不再工作,我注意到firebase.json文件在部署期间已被覆盖。我更改了Firebase.json文件,从那时起动态链接就不再起作用了,我所有的动态链接URL都将我重定向到我的Angular自定义404页面,动态链接URL甚至都没有改变。 web应用程序是使用Angular开发的,并部署在托管This is my firebase.json的
我最近开始了一个新项目,并使用AngularFire进行firebase托管。几天前,AngularFire团队完成了一项令人难以置信的工作,并推出了one liner,用于将Angular SSR应用程序部署到firebase托管/功能。 在我添加FirbaseAuthModule之前,一切都运行得很好,现在它给了我Error not able to load @firebase\app module。不确定是否有人在部署到firebase时遇到此错误。 我执行了AngualrFire文档- https://github.com/angular/angularfire/blob/maste
我刚刚创建了一个新的Firebase项目,我正在尝试正确地托管我的Angular应用程序,但当我试图运行ng deploy时,我得到了Hosting site or target partwizard not detected in firebase.json。 我在这里遵循官方Angular文档上的步骤:https://angular.io/start/start-deployment#hosting-an-angular-app-on-firebase 我在ng build --prod上构建的dist文件夹是dist/projectName,我尝试使用 {
"hosting
我正在与Nativescript角度和代码共享的应用程序工作。在几天前升级到Angular 10之后,一切都很好。今天我想用插件nativescript-plugin-firebase实现Firebase,但当我尝试运行我的应用程序时,我得到了以下错误: ERROR in ../node_modules/nativescript-plugin-firebase/firebase.js
Module not found: Error: Can't resolve 'tns-core-modules/application/application'
ERROR in .
在提到this post时,我遇到了一个问题,它显示为snapshotChanges is not a function TypeError: db.collection(...).snapshotChanges is not a function
at new <anonymous> (index.js:139)
at Object.instantiate (angular.js:5156)
at angular.js:11719
at Object.link (angular-route.js:1251)
at angular.js:1
我试图在firebase中托管我的应用程序--在本地主机上一切都很好--但是当我成功地在firebase域中主持应用程序时,它显示:
NullInjectorError: StaticInjectorError(wo)[class{constructor(t,e) at SpinnerService at content is not loaded.
我尝试在提供者数组中插入提供ngxModule和ngxSpinnerService,但仍然存在同样的问题。
我的代码:app.module.ts
import { BrowserModule } from '@angular/platf