A package.json "prepare" script failed during install.

A package.json "prepare" script failed during install. Git hook installers (husky/lefthook) cannot run in the build image.

Seen1 times
WhereNextjs

What the log looks like

Deploy log
error: script "build" exited with code 1error: prepare script from "oh-my-opencode" exited with 1

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