Ketsebaot Gizachew
Nuxt Error cannot Start Cannot Find Package:plugin-transform-typescript
hey guys i have a very simple minimal project with nuxt/ui and i am getting this error when trying to start it what is the problem:
here is my nuxt.config.ts
and my package.json
5 replies
Deploying Nuxt which has server/api functions to vercel and make them able to load files
i was working on a project where i have nuxt
./server/api/mdx.ts
which is responsible for loading a file when requested i tried loading using fs which resulted in errors because the server functions run in a separate enviroment on vercel. then after searching around a bit i decided to have a nitro asset setup like this:
nuxt.config.ts:
mdx.ts:
this setup works fine on my pc bot in dev mode and build but doesn't work on vercel and with useSthorage i don't know the errors because it doesn't give me one but it silently isn't able to load it just on vercel. with my file i am trying to load is in the root dir. of my project inside a folder called docs.5 replies