Skip to content

Axios not found when configuring as shim #1

@dschreij

Description

@dschreij

This may be because this module was made a while ago and they have done a lot of 'namespace shifting' for nuxt lately, but when I try this config:

modules: [
  ['nuxt-env-shim', {
    shimModules: {
      axios: true,
    },
  }],
]

An error is shown:

ERROR  [nuxt-env-shim] A shim for axios was requested, but axios was not found 

I am using @nuxtjs/axios version 5.9.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions