[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-turbopack-build-failed-with-error":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":18,"titleAccent":19,"lead":20,"facts":23,"why":37,"log":40,"fix":84,"engine":88,"related":92,"pitch":99},"nextjs","turbopack-build-failed-with-error","Error","Nextjs",{"description":9},"Learn what causes Error, how PanelAlpha Engine responds to it during deployment.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fnextjs",{"label":17},"Error: Turbopack build failed with 1 error:","Error: ","Turbopack build failed with 1 error:",[21],{"text":22},"Error recorded 2 times in PanelAlpha Engine deploys on Nextjs. The deploy log below is the recorded failure output.",[24,28,31,33],{"label":25,"value":6,"tone":26,"tooltip":27},"Type","err","An error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.",{"label":29,"value":30},"Seen","2 times",{"label":32,"value":7},"Where",{"label":34,"value":35,"tooltip":36},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":38,"body":39},"",[],{"heading":41,"block":42},"What the log looks like",{"header":43,"lines":44},"Deploy log",[45,48,52,56,60,64,68,72,76,80],{"segments":46},[47],{"text":17},{"segments":49},[50],{"text":51},".\u002Fsrc\u002Fapp",{"segments":53},[54],{"text":55},"Error: Could not find the Next.js package (next\u002Fpackage.json)",{"segments":57},[58],{"text":59},"Resolved from: \u002Fapp\u002Fweb\u002Fsrc\u002Fapp",{"segments":61},[62],{"text":63},"Filesystem root used for resolution: \u002Fapp\u002Fweb",{"segments":65},[66],{"text":67},"Possible causes:",{"segments":69},[70],{"text":71},"- node_modules is being reorganized by a concurrent install (e.g. pnpm adding a package with a `next` peer dependency). This is transient and should clear once the install completes.",{"segments":73},[74],{"text":75},"- node_modules\u002Fnext was removed, renamed, or has a broken symlink.",{"segments":77},[78],{"text":79},"- The workspace root is incorrect — see turbopack.root in the Next.js config docs for how to configure it.",{"segments":81},[82],{"text":83},"- In a monorepo, the Next.js p…",{"heading":38,"steps":85,"block":86},[],{"header":38,"lines":87},[],{"heading":38,"body":89,"block":90},[],{"header":38,"lines":91},[],{"heading":93,"items":94},"Apps affected",[95],{"title":96,"badge":97,"tone":26,"href":98},"Dashboard Icons","2 occurrences","\u002Fapps\u002Fhomarr-labs\u002Fdashboard-icons",{"heading":100,"body":101,"footNote":102,"docsLabel":103,"docsHref":104},"Try PanelAlpha Engine yourself.","The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.","Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]