Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Axios v1 problem with .default #1367

Open
keenthekeen opened this issue Oct 14, 2022 · 0 comments
Open

Axios v1 problem with .default #1367

keenthekeen opened this issue Oct 14, 2022 · 0 comments

Comments

@keenthekeen
Copy link
Member

The new v1 of Axios cause error in chulaSSO function.

axios.get() in TypeScript compiles to axios.default.get() in JavaScript and then fail, because "default" shouldn't be appended in Axios v1+.

See axios/axios#5044.

Current status: temporarily fixed by removing ".default" from the compiled function code

Plan: either

  • pin Axios at v1.1 or v1.0 ?
  • wait for the next version of Axios
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant