Skip to content

Fix frontend startup by auto-installing npm dependencies#18

Merged
brobertsaz merged 1 commit intobrobertsaz:mainfrom
illAssad:fix/frontend-npm-install
Dec 9, 2025
Merged

Fix frontend startup by auto-installing npm dependencies#18
brobertsaz merged 1 commit intobrobertsaz:mainfrom
illAssad:fix/frontend-npm-install

Conversation

@illAssad
Copy link
Contributor

@illAssad illAssad commented Dec 8, 2025

Summary

  • Fixes "vite: command not found" error for new users running ./start_all_services.sh
  • The script now checks if node_modules exists in the frontend directory
  • Automatically runs npm install if dependencies are missing
  • Provides clear error message if npm install fails

Problem

New users cloning the repo and running ./start_all_services.sh would get:

sh: vite: command not found

Because the script assumed npm dependencies were already installed.

Test plan

  • Clone fresh repo (or delete frontend/node_modules)
  • Run ./start_all_services.sh
  • Verify frontend dependencies are installed automatically
  • Verify frontend starts successfully on port 5173

The start script was running `npm run dev` without checking if
node_modules existed, causing "vite: command not found" errors
for new users who hadn't manually run npm install.

Now checks for node_modules and runs npm install automatically
if dependencies are missing.
@brobertsaz brobertsaz merged commit 2b80837 into brobertsaz:main Dec 9, 2025
brobertsaz added a commit that referenced this pull request Dec 9, 2025
- Add Discord badge and invite link at top of README
- Add 5 new PRs from @illAssad (#18-#22) to contributions table

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments