Create React App deploy blocked by Corepack permission error

Error recorded 1 times in PanelAlpha Engine deploys on Cra. The deploy log below is the recorded failure output.

Seen1 times
WhereCra

Why it happens

The CRA build runs on the host and Corepack is trying to create the pnpx link under /usr/local/bin. The deploy user cannot write to that system directory, so the build stops before the static assets are compiled. This is an account or host permission issue, not a repository clone failure.

What the log looks like

Deploy log
Starting stage: runningDetected project type: Create React AppUsing strategy: craCompiling static assets on hostInternal Error: EACCES: permission denied, symlink '../lib/node_modules/corepack/dist/pnpx.js' -> '/usr/local/bin/pnpx'Deploy failed: Failed to start app

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 CPURead the documentation