Open martinez-hugo opened 8 months ago
What did you do for those packages? Also, did you try the config below?
/** @type {import("next").NextConfig} */
const nextConfig = {
reactStrictMode: true,
transpilePackages: [
"emails-server",
"data"
]
}
module.exports = nextConfig
I have the same issue, but somehow only facing it on windows and not on my mac.
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/festive-sara-3vry7t
To Reproduce
A monorepo with 3 workspaces :
monorepo managed with turbo
Current vs. Expected behavior
On my local Mac computer, when I try to build or run dev my project, I have this error for src package :
and these error for emails-server package
Verify canary release
Provide environment information
Which area(s) are affected? (Select all that apply)
Operating System (Windows, MacOS, Linux), Package manager (npm, pnpm, Yarn), Turbopack (--turbo)
Additional context
npm config:
My main package.json
My src package.json
PACK-2245