Description
I see that v1.15.1 now requires postinstall lifecycle scripts to run. Most package managers that aren't NPM block this by default these days. Bun doesn't allow users to run postinstall scripts for global packages.
Another issue is that bin/opencode.exe (renamed from opencode in v1.15.1) can't be executed directly under Linux (and I'm assuming Windows?) - so executing opencode just returns an exec error.
echo "Error: opencode-ai's postinstall script was not run." >&2
echo "" >&2
echo "This occurs when using --ignore-scripts during installation, or when using a" >&2
echo "package manager like pnpm that does not run postinstall scripts by default." >&2
echo "" >&2
echo "To fix this, run the postinstall script manually:" >&2
echo " cd node_modules/opencode-ai && node postinstall.mjs" >&2
echo "" >&2
echo "Or reinstall opencode-ai without the --ignore-scripts flag." >&2
exit 1
Plugins
No response
OpenCode version
1.15.3
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Debian 13
Terminal
No response
Description
I see that v1.15.1 now requires postinstall lifecycle scripts to run. Most package managers that aren't NPM block this by default these days. Bun doesn't allow users to run postinstall scripts for global packages.
Another issue is that
bin/opencode.exe(renamed fromopencodein v1.15.1) can't be executed directly under Linux (and I'm assuming Windows?) - so executing opencode just returns an exec error.Plugins
No response
OpenCode version
1.15.3
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Debian 13
Terminal
No response