fatal error after adding nuxt-fire and running yarn dev
See original GitHub issueI followed your exact instructions with yarn add, updating by nuxt.config file. When I run yarn serve, I get the following fatal error:
Error: (Nuxt-Fire) Options are missing or empty, add at least the Firebase config parameters in your nuxt.config.js file.
My nuxt-fire config is exactly copied from your main github page.
'nuxt-fire',
{
config: {
apiKey: 'AIzaSyALn_uJ7Z9EsxUOPPqNj8OoKyxRlm8zDh8',
authDomain: 'order-placing-test.firebaseapp.com',
databaseURL: 'https://order-placing-test.firebaseio.com',
projectId: 'order-placing-test',
storageBucket: 'order-placing-test.appspot.com',
messagingSenderId: '843018056570',
appId: '1:843018056570:web:6ad6f650a5baada270dcc3'
},
services: {
auth: true // Just as example. Can be any other service.
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
I can't run my nuxt app using yarn dev command
I am trying to run my nuxt app using yarn dev command but i see an error. │ ✖ Nuxt Fatal Error ││...
Read more >Installation
Here, you will find information on setting up and running a Nuxt project in 4 steps.
Read more >nuxtjs/stylelint-module
Start using @nuxtjs/stylelint-module in your project by running `npm i ... yarn add --dev @nuxtjs/stylelint-module # or npm install ...
Read more >The firebase-module from nuxt-community - Giter VIP
fatal error after adding nuxt-fire and running yarn dev. I followed your exact instructions with yarn add, updating by nuxt.config file. When I...
Read more >cannot start nuxt: cannot read properties of undefined ...
Running nuxi dev results in Cannot start nuxt: Cannot read property 'callHook' of ... yarn add @nuxtjs/i18n; add module and options to nuxt.config.ts ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I did something like below to make it work. Separated firebase config from modules.
Turns out I’m a moron and you’re right 😃 I wasn’t wrapping it properly. It does work indeed - you can close it.