server relative imports are not implemented yet.
Unanswered
MalvadoEZY posted this in #help-forum
Hi Guys im having an error when building my project up on Vercel, locally everything works fine, I even deleted node_modules and .next and re-done all the process and worked fine locally, but when i built it on vercel i get this
Thanks all !
<w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (109kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
Failed to compile.
./actions/geo.ts
Module not found: Can't resolve 'drizzle-orm'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./app/api/auth/complete-registration/route.ts
./app/(sitemap)/sitemap_index.xml/route.ts
Module not found: Can't resolve 'drizzle-orm'
https://nextjs.org/docs/messages/module-not-found
./app/[locale]/(dynamic_pages)/event/sitemap.ts
Module not found: Can't resolve 'drizzle-orm'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./node_modules/next/dist/build/webpack/loaders/next-metadata-route-loader.js?filePath=%2Fvercel%2Fpath0%2Fapp%2F%5Blocale%5D%2F(dynamic_pages)%2Fevent%2Fsitemap.ts&isDynamicRouteExtension=1!?__next_metadata_route__
./app/[locale]/(dynamic_pages)/invite/organization/page.tsx
Module not found: Can't resolve 'drizzle-orm'
Thanks all !
1 Reply
Does anyone know what could be causing this ? since it completly works locally building