[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-repository-s-build-also-packages-its-electron-desktop":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":6,"lead":18,"facts":20,"why":35,"log":45,"fix":96,"engine":109,"related":113,"pitch":120},"node","repository-s-build-also-packages-its-electron-desktop","The repository's build also packages its Electron desktop app","Node.js",{"description":9},"A build step failed (exit code 1). The full output is in the deploy log.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fnode",{"label":6},"",[19],{"text":9},[21,26,29,31],{"label":22,"value":23,"tone":24,"tooltip":25},"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":27,"value":28},"Seen","1 times",{"label":30,"value":7},"Where",{"label":32,"value":33,"tooltip":34},"Status","Resolve Ready","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":36,"body":37},"Why it happens",[38,40,43],{"text":39},"The root ",{"text":41,"code":42},"build",true,{"text":44}," script builds every workspace, including the Electron desktop installer and the mobile app, and electron-builder cannot run in a server build, so the whole build fails.",{"heading":46,"block":47},"What the log looks like",{"header":48,"lines":49},"Deploy log",[50,54,58,62,66,70,74,78,82,85,89,93],{"segments":51},[52],{"text":53},"#11 417.3 npm error Lifecycle script `build` failed with error:",{"segments":55},[56],{"text":57},"#11 417.3 npm error code 1",{"segments":59},[60],{"text":61},"#11 417.3 npm error path \u002Fapp\u002Fpackages\u002Fdesktop",{"segments":63},[64],{"text":65},"#11 417.3 npm error workspace @getpaseo\u002Fdesktop@0.11.0-beta.2",{"segments":67},[68],{"text":69},"#11 417.3 npm error location \u002Fapp\u002Fpackages\u002Fdesktop",{"segments":71},[72],{"text":73},"#11 417.3 npm error command failed",{"segments":75},[76],{"text":77},"#11 417.3 npm error command sh -c npm --prefix ..\u002F.. run build:server:clean && npm run build:main && electron-builder --config electron-builder.yml",{"segments":79},[80],{"text":81},"#11 417.3",{"segments":83},[84],{"text":81},{"segments":86},[87],{"text":88},"#11 417.3 > @getpaseo\u002Fcli@0.11.0-beta.2 build",{"segments":90},[91],{"text":92},"#11 417.3 > tsc -p tsconfig.json --incremental false",{"segments":94},[95],{"text":81},{"heading":97,"steps":98,"block":106},"How to fix it",[99],[100,102,104],{"text":101},"Build only the server part (",{"text":103,"code":42},"npm run build:server",{"text":105},") with a recipe or a Dockerfile for the daemon, rather than the root build.",{"header":107,"lines":108},"Fix by hand",[],{"heading":17,"body":110,"block":111},[],{"header":17,"lines":112},[],{"heading":114,"items":115},"Apps affected",[116],{"title":117,"badge":118,"tone":24,"href":119},"paseo","1 occurrence","\u002Fapps\u002Fgetpaseo\u002Fpaseo",{"heading":121,"body":122,"footNote":123,"docsLabel":124,"docsHref":125},"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"]