小编Muh*_*hdi的帖子

node_modules/@angular/fire/firebase.app.module.d.ts 中的错误?

编译器完成后出现此错误。我尝试卸载并重新安装 firebase @angular/fire 但无法修复。我对错误感到困惑。我找不到它的解决方案

"@angular/cli": "~10.2.0",
"firebase": "^8.0.0",
"@angular/fire": "^6.0.3",
Run Code Online (Sandbox Code Playgroud)
"@angular/cli": "~10.2.0",
"firebase": "^8.0.0",
"@angular/fire": "^6.0.3",
Run Code Online (Sandbox Code Playgroud)

我希望我得到好的回应。

firebase angular google-cloud-firestore

16
推荐指数
2
解决办法
9362
查看次数

更新 npm 后 node_modules 出现错误?

这是我在更新 npm 后得到的错误,由于出现 [WDS] Disconnected 错误!Mozilla Firefox 控制台中的错误。这是有经验的开发人员要解决的错误。


5 import firebase from 'firebase/app';
         ~~~~~~~~

  node_modules/firebase/index.d.ts:9710:1
    9710 export = firebase;
         ~~~~~~~~~~~~~~~~~~
    This module is declared with using 'export =', and can only be used with a default import when using the
'allowSyntheticDefaultImports' flag.
node_modules/@angular/fire/firestore/collection-group/collection-group.d.ts:2:8 - error TS1259: Module '"D:/apps/angularfs3/node_modules/firebase/index"' can only be default-imported using the 'allowSyntheticDefaultImports' flag

2 import firebase from 'firebase/app';
         ~~~~~~~~

  node_modules/firebase/index.d.ts:9710:1
    9710 export = firebase;
         ~~~~~~~~~~~~~~~~~~
    This module is declared with using 'export =', and can only be …
Run Code Online (Sandbox Code Playgroud)

javascript module firebase angular

6
推荐指数
1
解决办法
2518
查看次数

Material-UI组件中的componentsProps有什么用?

我在、、等componentsProps组件的 API 文档中看到了这一点......,我没有得到任何最好的例子和 prop 的完美定义。AutoCompleteStepLabelBackDrop

请任何人用简单的语言用基本和简单的例子解释它何时、为什么以及如何使用!

javascript components reactjs material-ui

5
推荐指数
1
解决办法
4302
查看次数