fix: add start.sh and start.bat scripts#32
Merged
simonCatBot merged 4 commits intomasterfrom Apr 7, 2026
Merged
Conversation
added 4 commits
April 6, 2026 22:35
Fix npm ci --production so TypeScript devDependency is included when installing dependencies. Next.js requires TypeScript to transpile next.config.ts at startup, so skipping dev deps causes a MODULE_NOT_FOUND error for 'typescript'. Linux/macOS: use `npm ci --include=dev` Windows: use `call npm ci --include=dev`
The 'Latest Build' prerelease has no binary assets. The actual rocclaw-linux-x64.tar.gz and rocclaw-windows-x64.zip are attached to the V0.01 release tag.
…nerating inline Also fixes the start scripts in the packaged archive to use npm ci --include=dev (instead of --production) so TypeScript is available to transpile next.config.ts at startup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Running
./start.sh(orstart.bat) fails with:This is because
npm ci --productionskips devDependencies, but Next.js requires TypeScript (a devDependency) to transpilenext.config.tsat startup.Fix
Before:
After:
This ensures TypeScript is installed while still keeping the runtime lean — only dev deps are added, not all optional dependencies.
Files added:
start.sh— Linux/macOS startup scriptstart.bat— Windows startup script