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

Upgrade node-fetch #381

Open
krankos opened this issue Aug 12, 2023 · 1 comment
Open

Upgrade node-fetch #381

krankos opened this issue Aug 12, 2023 · 1 comment

Comments

@krankos
Copy link

krankos commented Aug 12, 2023

this has been the cause of many issues

@mquandalle
Copy link

This library was no longer working with Vite 5, I worked around it by replacing the node-fetchdependency by axios using a vite alias:

// vite.config.js
export default defineConfig({
  resolve: {
    alias: {
      'node-fetch': 'axios',
    },
  },
})

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

2 participants