Giter VIP home page Giter VIP logo

Comments (3)

danielroe avatar danielroe commented on September 22, 2024

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.

from axios-module.

waldirborbajr avatar waldirborbajr commented on September 22, 2024

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)

from axios-module.

danielroe avatar danielroe commented on September 22, 2024

#595 (comment)

This module is not compatible with Nuxt 3.

from axios-module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.