octavemirbeau
octavemirbeau

Reputation: 507

@Google-cloud/task module not found (pnpm)

I recently migrated an app to a monorepo using turborepo and pnpm. During the build process, I encountered an error that didn't occur when the next app used yarn. Notably, when building the old app on Vercel, this issue didn't arise.

I suspect the error is related to how pnpm performs lookups. I'm curious about why Vercel doesn't fail the build in this case. Could it be because the package is used in a route handler instead of a page route? In the Vercel build logs, the error is marked as such, but locally it's not marked as an error.

Any insights on how to address this issue would be appreciated. Thank you!

Upvotes: 0

Views: 133

Answers (0)

Related Questions