简体   繁体   English

我正在使用 react 无法安装 firebase

[英]I am using react and unable to install firebase

$ npm i firebase
npm ERR! Unexpected end of JSON input while parsing near '...0","karma-coverage-is'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Ayush\AppData\Roaming\npm-cache\_logs\2020-12-01T04_59_26_404Z-debug.log

Please help me, If you know the solution请帮助我,如果您知道解决方案

Please clean the cache and try again请清理缓存并重试

npm cache clean --force
npm install --save firebase

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我无法使用 expo 安装 react 导航(未安装 react-native-gesture-handler) - I am unable to install react navigation using expo (react-native-gesture-handler isn't installed) 我在使用 react native 安装 pod 时遇到错误 - I am getting error in pod install using react native 我无法安装我的项目套件 - I am unable to install my project packages 无法使用npm安装firebase-tools - unable to install firebase-tools using npm 无法使用本机反应更新 Firebase - Unable to Update in Firebase using react native 我在使用 firebase 注册时遇到问题,它在反应 js 中调用了三次 - i am facing an issue using firebase for signup its called three times in react js 使用Graphql并做出反应,我无法从默认导出访问功能 - Using Graphql and react, I am unable to access function from default export 我无法使用安卓工作室的安卓模拟器在我的 Windows 上启动我的原生反应 - i am unable to start up my react native on my windows using andriod emulator from andriod studio 我无法访问 Json 数据并在 React 中使用 axios 将其显示在表格中 - I am unable to access Json data and display it in table using axios in React 我在反应页面刷新后从 firebase 获取数据 - I am getting data from firebase after page refresh in react
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM