I am trying to push a blog site i did as a monorepo using velite to vercel unfurtunately i am getting a Cannot find module 'next/dist/server/next-server.js'. I was hoping you folks might have some insights on what could be causing it.
works fine in dev mode
works perfect when built locally and started
3.1 when i push to vercel i am getting the above error
3.2 all other pages of the site are working perfectly when i deploy it. its only the blog that has this issue.
❯ ./node_modules/.bin/vercel version
Vercel CLI 33.2.0
here is how iam deploying it
running from the root of the mono repo
echo deploying ... \
&& pnpm --filter app-site vercel:build \
&& pnpm --filter app-site vercel:deploy \
Hi folks.
I am trying to push a blog site i did as a monorepo using velite to vercel unfurtunately i am getting a
Cannot find module 'next/dist/server/next-server.js'
. I was hoping you folks might have some insights on what could be causing it.here is how iam deploying it
relevant seciont in
./apps/app-site/package.json
my directory tree
Best Rgards
Additional information
No response
Example
No response