【发布时间】:2021-11-03 05:53:32
【问题描述】:
我收到了这个我不理解的错误,我真的不知道如何修复...我正在使用 Nuxt.js,我想与它一起使用 firebase,但是当我尝试firebase.nuxtjs.org 并安装 @nuxtjs/firebase 我收到此错误 -
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: **************@1.0.0
npm ERR! Found: firebase@9.0.1
npm ERR! node_modules/firebase
npm ERR! firebase@"^9.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer firebase@"^8.3.1" from @nuxtjs/firebase@7.6.1
npm ERR! node_modules/@nuxtjs/firebase
npm ERR! @nuxtjs/firebase@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
我希望你们都可以帮助我。提前谢谢!
【问题讨论】:
-
兄弟,使用 node 当前版本不是一个好主意,特别是如果你依赖第三方模块
标签: node.js firebase npm firebase-authentication nuxt.js