Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuxt 3: Cannot start nuxt: Cannot read properties of undefined (reading 'options') #595

Closed
vedmant opened this issue Nov 24, 2022 · 3 comments

Comments

@vedmant
Copy link

vedmant commented Nov 24, 2022

I just installed clean Nuxt 3.0.0 and tried to use this module, but it's not working:

Cannot start nuxt: Cannot read properties of undefined (reading 'options')

Copy link
Member

This module is not compatible with Nuxt 3. You can still use axios, of course. But I would also recommend you look at using the built-in $fetch helper in Nuxt 3.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2022
@waldirborbajr
Copy link

I'm facing the same error, starting a new project from scratch, with axios:

Nuxt: 3.5.0
@nuxtjs/axios: 5.13.6
Node: v19.5.0

ERROR Cannot start nuxt: Cannot read properties of undefined (reading 'options') 9:27:52 PM

at axiosModule (node_modules/.pnpm/@nuxtjs[email protected]/node_modules/@nuxtjs/axios/lib/module.js:12:13)
at installModule (node_modules/.pnpm/@nuxt[email protected]/node_modules/@nuxt/kit/dist/index.mjs:440:101)
at async initNuxt (node_modules/.pnpm/nuxt@3.5.0_@types[email protected]/node_modules/nuxt/dist/index.mjs:2889:7)
at async load (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/dev.mjs:201:9)
at async Object.invoke (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/dev.mjs:245:5)
at async _main (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/cli.mjs:48:20)

@danielroe
Copy link
Member

#595 (comment)

This module is not compatible with Nuxt 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants