problem with error vercel turbopack-ecmascript
Unanswered
Chinese Alligator posted this in #help-forum
Chinese AlligatorOP
Hello my problem is this error.
I can try create auth. I think problem we find in register.ts or db.ts. i dont know. this is my github repository with code. https://github.com/ThomasTomanec/portfolio-website
I try turbopack when i add to package.json in start:next dev --trubo. my error is solved but appered a new error, bcs turbo vercel working only with browser client and prisma database need server client.
./node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-websocket.js:86:8 Module not found: Can't resolve '@vercel/turbopack-ecmascript-runtime/dev/client/hmr-client.ts'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module: ./node_modules/next/dist/client/components/react-dev-overlay/hot-reloader-client.js ./node_modules/next/dist/client/components/app-router.js ./node_modules/next/dist/client/app-call-server.js ./node_modules/next/dist/build/webpack/loaders/next-flight-loader/action-client-wrapper.js ./src/actions/register.ts ./components/auth/register-form.tsx ./src/pages/auth/register/index.tsxI can try create auth. I think problem we find in register.ts or db.ts. i dont know. this is my github repository with code. https://github.com/ThomasTomanec/portfolio-website
I try turbopack when i add to package.json in start:next dev --trubo. my error is solved but appered a new error, bcs turbo vercel working only with browser client and prisma database need server client.
4 Replies
Chinese AlligatorOP
i need help
:(((
Chinese AlligatorOP
@Southern yellowjacket @Ratonero Bodeguero Andaluz @American black bear @Aaron
oh you already have this post. kindly do not repost or crosspost. i'll delete the repost