[SOLVED] Uncaught (in promise) Error: (0 , axios_1.default) is not a function

I’m using the node client with ReactJS and I’m getting this error, any api call is sent, it’s on the init of the client. here is the error log I’m getting from browser console :

Uncaught (in promise) Error: (0 , axios_1.default) is not a function
    at SquidexClient.<anonymous> (SquidexClient.js:196:1)
    at Generator.next (<anonymous>)
    at fulfilled (SquidexClient.js:28:1)

I have…

  • [x ] Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ x] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

Expected behavior

Minimal reproduction of the problem

Environment

  • [ ] Self hosted with docker
  • [x ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: [VERSION]

Browser:

  • [x ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [x ] Edge

Others:

Seems to be a bundling issue: https://github.com/axios/axios/issues/5038

I have published a new version. Can you try that out? It is basically a downgrade of axios.

This topic was automatically closed after 2 days. New replies are no longer allowed.