ecyrbe/zodios

Import error

JohnKucharsky opened this issue · 4 comments

  • error file:///C:/Users/vanno/Desktop/current/cash_front/cashflow-frontend/node_modules/@zodios/core/lib/index.mjs:1
    import ee, { AxiosError } from 'axios';
    ^^^^^^^^^^
    SyntaxError: Named export 'AxiosError' not found. The requested module 'axios' is a CommonJS module, which may not support all module.exports as named exports.
    CommonJS modules can always be imported via the default export, for example using:

import pkg from 'axios';
const { AxiosError } = pkg;

I'm seeing this too.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.