Closed justinireland closed 1 year ago
Weird, does this still happen?
@justinireland What version of Next.js are you using? If 13, it might be because they bundled next-transpile-modules as part of core Next.js—maybe the explicit require('next-transpile-modules')
is conflicting with their core implementation.
I just bootstrapped a fresh tailwind monorepo and when I run
yarn web
I'm getting:Error: next-transpile-modules - an unexpected error happened when trying to resolve "app". Are you sure the name of the module you are trying to transpile is correct, and it has a package.json with a "main" or an "exports" field?
Error: Can't resolve 'app\package.json'