ERROR in node_modules/angularfire2/firebase.app.module.d.ts(2,42): error TS2305: Module '"project/node_modules/firebase/index"' has no exported member 'functions'
我正在使用,
"@angular/cdk": "^6.2.1",
"angularfire2": "^5.0.0-rc.10",
"firebase": "^4.13.1"
最佳答案
“angularfire2”有问题:“^5.0.0-rc.10”
解决方案是卸载 angularfire2^5.0.0-rc.10
并安装 angularfire2^5.0.0-rc.9
:
npm uninstall angularfire2
npm install angularfire2@5.0.0-rc.9
关于Angular 6 - '"/node_modules/firebase/index "' has no exported member ' 函数',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50886764/