[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-repository-dockerfile-uses-node-alpine-which-no-longer":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":18,"titleAccent":17,"lead":19,"facts":21,"why":36,"log":41,"fix":89,"engine":103,"related":107,"pitch":114},"dockerfile","repository-dockerfile-uses-node-alpine-which-no-longer","Repository Dockerfile uses node","Dockerfile",{"description":9},"A build step failed (exit code 127). The full output is in the deploy log.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fdockerfile",{"label":17},"Repository Dockerfile uses node:alpine, which no longer ships yarn","",[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","2 times",{"label":31,"value":7},"Where",{"label":33,"value":34,"tooltip":35},"Status","Resolve Ready","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 repository's own Dockerfile runs yarn on node:alpine, and current node:alpine images do not include yarn.",{"heading":42,"block":43},"What the log looks like",{"header":44,"lines":45},"Deploy log",[46,50,54,58,62,66,70,74,78,82,85],{"segments":47},[48],{"text":49},"#9 ERROR: process \"\u002Fbin\u002Fsh -c yarn install --pure-lockfile\" did not complete successfully: exit code: 127",{"segments":51},[52],{"text":53},"WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree",{"segments":55},[56],{"text":57},"Dockerfile:11",{"segments":59},[60],{"text":61},"--------------------",{"segments":63},[64],{"text":65},"9 |     USER node",{"segments":67},[68],{"text":69},"10 |",{"segments":71},[72],{"text":73},"11 | >>> RUN yarn install --pure-lockfile",{"segments":75},[76],{"text":77},"12 |",{"segments":79},[80],{"text":81},"13 |     COPY --chown=node:node . .",{"segments":83},[84],{"text":61},{"segments":86},[87],{"text":88},"failed to solve: process \"\u002Fbin\u002Fsh -c yarn install --pure-lockfile\" did not complete successfully: exit code: 127",{"heading":90,"steps":91,"block":100},"How to fix it",[92],[93,95,98],{"text":94},"Install yarn in the Dockerfile (",{"text":96,"code":97},"RUN corepack enable",true,{"text":99},") or pin a node image that ships it, then redeploy.",{"header":101,"lines":102},"Fix by hand",[],{"heading":18,"body":104,"block":105},[],{"header":18,"lines":106},[],{"heading":108,"items":109},"Apps affected",[110],{"title":111,"badge":112,"tone":25,"href":113},"create-nodejs-express-app","2 occurrences","\u002Fapps\u002Fhagopj13\u002Fnode-express-boilerplate",{"heading":115,"body":116,"footNote":117,"docsLabel":118,"docsHref":119},"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"]