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
I have spent a few hours debugging why my build is failing on netlify, and it only fails when I add in @nuxt/axios.
The error causing the deploy to fail is below:
I suspect its because I am using Nuxt 2 still instead of 3 (I have other dependencies that aren't compatible with nuxt 3 yet so can't upgrade), but my list of versions are below:
The project runs locally in both ssr and static mode, so I'm not sure why its having issues with nuxt core on netlify, but is there a version of axios I should downgrade to that will work with my set up?
Thanks!
The text was updated successfully, but these errors were encountered:
I have spent a few hours debugging why my build is failing on netlify, and it only fails when I add in @nuxt/axios.
The error causing the deploy to fail is below:
I suspect its because I am using Nuxt 2 still instead of 3 (I have other dependencies that aren't compatible with nuxt 3 yet so can't upgrade), but my list of versions are below:
"dependencies": {
"@nuxtjs/axios": "^5.13.6",
"@nuxtjs/gtm": "^2.4.0",
"@nuxtjs/recaptcha": "^1.0.4",
"@nuxtjs/sanity": "^0.9.1",
"@nuxtjs/style-resources": "^1.0.0",
"@nuxtjs/svg": "^0.1.12",
"@sanity/client": "^2.2.6",
"@sanity/image-url": "^0.140.22",
"@tailwindcss/typography": "^0.4.0",
"lodash.camelcase": "^4.3.0",
"lodash.debounce": "^4.0.8",
"lodash.upperfirst": "^4.3.1",
"node-fetch": "^2.6.1",
"nuxt": "^2.15.5",
"nuxt-lazy-load": "^1.2.5",
},
The project runs locally in both ssr and static mode, so I'm not sure why its having issues with nuxt core on netlify, but is there a version of axios I should downgrade to that will work with my set up?
Thanks!
The text was updated successfully, but these errors were encountered: