Firebase 离子火基问题

Firebase 离子火基问题,firebase,npm,ionic3,Firebase,Npm,Ionic3,创建生成时出现以下错误。否则没有任何问题。 解决此问题的任何解决方案 目前正在使用以下配置…' "@angular/animations": "5.2.11", "@angular/common": "5.2.11", "@angular/compiler": "5.2.11", "@angular/compiler-cli": "5.2.11", "@angular/core": "5.2.11", "@angular/fire": "^5.2.3",

创建生成时出现以下错误。否则没有任何问题。 解决此问题的任何解决方案

目前正在使用以下配置…'

 "@angular/animations": "5.2.11",
    "@angular/common": "5.2.11",
    "@angular/compiler": "5.2.11",
    "@angular/compiler-cli": "5.2.11",
    "@angular/core": "5.2.11",
    "@angular/fire": "^5.2.3",
    "@angular/forms": "5.2.11",
    "@angular/http": "5.2.11",
    "@angular/platform-browser": "5.2.11",
    "@angular/platform-browser-dynamic": "5.2.11",
    "@ionic-native/core": "~4.20.0",
    "@ionic-native/in-app-browser": "^4.20.0",
    "@ionic-native/splash-screen": "~4.20.0",
    "@ionic-native/status-bar": "~4.20.0",
    "@ionic/storage": "2.2.0",
    "@ngx-translate/core": "^9.1.1",
    "@ngx-translate/http-loader": "^2.0.1",
    "angular-bottom-sheet": "^1.2.5",
    "angular-material": "^1.1.20",
    "angular2": "^2.0.0-beta.21",
    "angularfire2": "^5.0.0-rc.6",
    "call-number": "^1.0.1",
    "cordova-android": "^7.0.0",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-inappbrowser": "^3.1.0",
    "cordova-plugin-ionic-keyboard": "^2.2.0",
    "cordova-plugin-ionic-webview": "^4.1.3",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.2",
    "cordova-plugin-whitelist": "^1.3.3",
    "firebase": "^7.6.1",
    "ionic-angular": "3.9.5",
    "ionicons": "3.0.0",
    "promise-polyfill": "^8.1.3",
    "rxjs": "^6.0.0",
    "rxjs-compat": "^6.5.3",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.29"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.2.2",
    "typescript": "3.2.2"
  },
我受到了错误打击,请找到它:

[20:15:04]  typescript: ...e_m_pwd_app/e_i/node_modules/@firebase/database/dist/src/api/Database.d.ts, line: 44
            An accessor cannot be declared in an ambient context.

      L43:  * We throw a exception if the url is not in the same domain as the
      L44:  * current repo.
      L45:  * @param {string} url

[20:15:04]  typescript: ...m_pwd_app/e_i/node_modules/@firebase/database/dist/src/api/DataSnapshot.d.ts, line: 88
            An accessor cannot be declared in an ambient context.


[20:15:04]  typescript: ...m_pwd_app/e_i/node_modules/@firebase/database/dist/src/api/DataSnapshot.d.ts, line: 98
            An accessor cannot be declared in an ambient context.


[20:15:04]  typescript: ...nd/e_p/e_i/node_modules/@firebase/database/dist/src/api/Query.d.ts, line: 36
            An accessor cannot be declared in an ambient context.

      L36:   * Validates that no other order by call has been made
      L37:   * @param {!string} fnName

[20:15:04]  typescript: ...nd/e_p/e_i/node_modules/@firebase/database/dist/src/api/Query.d.ts, line: 37
            An accessor cannot be declared in an ambient context.

      L36:  * Validates that no other order by call has been made
      L37:  * @param {!string} fnName
      L38:  * @private
我正在使用带有离子框架的firebase数据库。当我尝试连接firebase时,我在ionic框架中遇到上述错误,
请给我一个解决这个问题的办法

请检查keyname firebase以及您的代码(fName)。请分享您的代码

嗨,王子,欢迎来到StackOverflow。此问题需要编辑并重新格式化,以便于阅读。目前的问题是,不太可能得到积极的回应。我强烈建议大家通读谢谢,已经解决了。只需用下面给出的链接代码替换index.d.ts。