pnpm build fails after create t3-app
I did
Filled in .env,
This fails with
Thanks
pnpm create t3-app@latest qqq --CI --noGit --trpc --drizzle --nextAuth --tailwind --dbProvider postgres cd qqqFilled in .env,
pnpm db:pushpnpm buildThis fails with
Failed to compile.
./node_modules/.pnpm/next@15.1.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?page=%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute&name=app%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute&pagePath=private-next-app-dir%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute.ts&appDir=%2FUsers%2Fstaguer%2FDeveloper%2Ft%2Fqqq%2Fsrc%2Fapp&appPaths=%2Fapi%2Fauth%2F%5B...nextauth%5D%2Froute&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&nextConfigExperimentalUseEarlyImport=&preferredRegion=&middlewareConfig=e30%3D! + 229 modules
Unexpected end of JSON input
Build failed because of webpack errors
pnpm run dev also fails but with other issues (seem related to https://github.com/nextauthjs/next-auth/discussions/10058)Thanks
