-
Notifications
You must be signed in to change notification settings - Fork 24
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
AxiosError: options must be an object #171
Comments
I am having the same issue:
on this piece of code from example: <script setup>
import { useStoryblok } from '@storyblok/vue';
const story = await useStoryblok('home', { version: 'draft' });
</script> and this are packages I am using:
updateI think I fixed it by downgrading axion lib to |
same problem. |
@CKGrafico Yeah, I just got similar problem with Maybe it is a good time to update axios in storyblok? |
thanks @patrykkurzeja91 can anybody in storyblok team give an official answer? |
Hi, folks @CKGrafico @patrykkurzeja91 @ralphjesy12 @aco228 👋 Good news on this matter! We got rid of axios in the js-client, so now the @storyblok/vue SDK is updated with these changes in the last version, and the next one to be updated will be @storyblok/nuxt 🚀 Stay tuned and let us know if something pops up in the meantime 💜 |
This is possibly related to storyblok/storyblok-nuxt#210
When you start a new nuxt project its impossible to have it working.
The first error es that axios is not installed, after install it you will have that new error:
As you can see seems that the real error comes from this package not nuxt package.
The text was updated successfully, but these errors were encountered: