fix(installer): install moshcode's runtime dependencies after unpacking - #116
Merged
Merged
Conversation
moshcode stopped being dependency-free in 0.96.0 (@profullstack/synconfig), and this installer unpacks the source tarball and stops, so every install through moshcoding.com/install.sh since then produced a CLI that died on its first import: `Cannot find package '@profullstack/synconfig'`. After the package is in place, read package.json with node (grep would match "devDependencies") and, when it lists runtime dependencies, run `npm install --omit=dev` in the package dir. A missing npm or a failed install fails the install loudly rather than leaving a CLI that cannot start. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014HMV1QDcVY1xiaWWrZQM4S
ThreatCrush Security Scan20 finding(s) HIGH/CRITICAL: 3 | MEDIUM: 13 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
moshcode stopped being dependency-free in 0.96.0 (
@profullstack/synconfig). This installer unpacks the source tarball and stops, so every install through moshcoding.com/install.sh since then produced a CLI that died on its first import:Cannot find package '@profullstack/synconfig'.After the package is in place, read package.json with node (grep would match "devDependencies") and, when it lists runtime dependencies, run
npm install --omit=devin the package dir. A missing npm or a failed install fails loudly instead of leaving a CLI that cannot start. Same fix as moshcoder/moshcode for its own install.sh.🤖 Generated with Claude Code
https://claude.ai/code/session_014HMV1QDcVY1xiaWWrZQM4S