Errors when I follow the UploadThing docs for "Vue with Nuxt"
I am trying to use UploadThing with my Nuxt project and am getting errors when I launch my app.
Errors in the logs when I run the Nuxt app:
Project info:
* I created a brand new Nuxt app
pnpm dlx nuxi init uploadthing-play
* Followed the steps from the documentation https://docs.uploadthing.com/getting-started/nuxt
* I then ran the app and received those errors. I should also say, I was able to successfully run the app before adding UploadThing.
I hope this is the right channel to post this but I'd love to use UploadThing for the project I working on.
Any help with this?
Thanks!Solution:Jump to solution
```export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@uploadthing/nuxt"],
compatibilityDate: "2024-07-26",
+ uploadthing: {...
5 Replies
Here is a repo of the app that generates the errors:
https://github.com/brianacdev/uploadthing-nuxt-error
GitHub
GitHub - brianacdev/uploadthing-nuxt-error: A simple Nuxt app used ...
A simple Nuxt app used to recreate the errors I am having with UploadThing inside of a Nuxt app - brianacdev/uploadthing-nuxt-error
Looks like you need to set a log level, i thought we had noted that in the docs, but will check
Solution
Seems like there may have been a regression.
That did it! Thanks!