[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-node-engine-mismatch":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":18,"lead":19,"facts":21,"why":36,"log":41,"fix":57,"engine":66,"related":74,"pitch":81},"php","node-engine-mismatch","PHP asset build fails because the project requires Node.js 22, not 24","Php",{"description":9},"This project needs Node ^22.0.0, which does not match the version used to build it.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fphp",{"label":6},"PHP asset build fails because ","the project requires Node.js 22, not 24",[20],{"text":9},[22,27,30,32],{"label":23,"value":24,"tone":25,"tooltip":26},"Type","Error","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":28,"value":29},"Seen","1 times",{"label":31,"value":7},"Where",{"label":33,"value":34,"tooltip":35},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":37,"body":38},"Why it happens",[39],{"text":40},"The project requires Node.js ^22.0.0 for its asset build, but the deployment used Node.js 24. Because Node 24 is outside the declared version range, the build was stopped even though the application was detected as PHP.",{"heading":42,"block":43},"What the log looks like",{"header":44,"lines":45},"Deploy log",[46,49,53],{"segments":47},[48],{"text":9},{"segments":50},[51],{"text":52},"Unable to find image 'node:24-bookworm-slim' locally",{"segments":54},[55],{"text":56},"Status: Downloaded newer image for node:24-bookworm-slim",{"heading":58,"steps":59,"block":63},"How to fix it",[60],[61],{"text":62},"Configure the build to use Node.js 22.x, or update the project’s declared Node requirement if Node 24 is supported. Check the repository’s package.json, lockfile, and deployment overrides for conflicting Node versions, then redeploy.",{"header":64,"lines":65},"Fix by hand",[],{"heading":67,"body":68,"block":71},"How PanelAlpha Engine solves it",[69],{"text":70},"When a PHP project also contains Node assets, select a Node image compatible with package.json engines and report the configured and required versions before starting the build.",{"header":72,"lines":73},"",[],{"heading":75,"items":76},"Apps affected",[77],{"title":78,"badge":79,"tone":25,"href":80},"Server · nextcloud","1 occurrence","\u002Fapps\u002Fnextcloud\u002Fserver",{"heading":82,"body":83,"footNote":84,"docsLabel":85,"docsHref":86},"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"]