我收到这个错误,我不理解,而且我真的不知道如何修复...我正在使用 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: [email protected] /cdn-cgi/l/email-protection
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/[email protected] /cdn-cgi/l/email-protection
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.
我希望你们都能帮助我。先感谢您!
正如 @nuxtjs/firebase 库的自述文件中提到的(https://github.com/nuxt-community/firebase-module https://github.com/nuxt-community/firebase-module),目前不支持 firebase 版本 9。使用[电子邮件受保护] /cdn-cgi/l/email-protection和@nuxtjs/[电子邮件受保护] /cdn-cgi/l/email-protection应该管用。
您可以在此处跟踪 nuxt 支持 Firebase 9 的进度:https://github.com/nuxt-community/firebase-module/issues/573 https://github.com/nuxt-community/firebase-module/issues/573
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)