You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After upgrading form v0.27.2 to v1.1.2 import error with Vite #5118
In Vue3 / TypeScript project,
import { AxiosError } from 'axios';
Build shows warning:
Non-existent export 'AxiosError' is imported from node_modules/axios/index.js
Although there is only a build warning, any component (Vue) or TypeScript (ts) that includes this import fails to work.
Browser console (Dev-Tools) shows:
Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/axios.js?v=3226fa61' does not provide an export named 'AxiosError' (at auth-store.ts:2:17)
Activity
philBrown commentedon Oct 13, 2022
#5062
richardtallent-erm commentedon Oct 13, 2022
Duplicate of #5031, possibly? I was having a similar issue with CanceledError.