Skip to content

fix: move runtime deps out of devDependencies so npx works#7

Open
tavva wants to merge 1 commit intoJamsusMaximus:mainfrom
tavva:fix/concurrently-dependency
Open

fix: move runtime deps out of devDependencies so npx works#7
tavva wants to merge 1 commit intoJamsusMaximus:mainfrom
tavva:fix/concurrently-dependency

Conversation

@tavva
Copy link

@tavva tavva commented Mar 2, 2026

Problem

Running npx github:JamsusMaximus/codemap fails because npx doesn't install devDependencies. Several packages needed at runtime are listed as devDependencies:

  • Root: concurrently (used by dev script)
  • Server: tsx (used by dev script via tsx watch)
  • Client: vite and @vitejs/plugin-react (used by dev script)

Errors:

sh: concurrently: command not found
Cannot find package 'vite'
Cannot find package 'express'  # cascading failure from workspace resolution

Fix

Move these four packages from devDependencies to dependencies in their respective package.json files.

When installed via npx, devDependencies are not installed. The dev
script requires concurrently (root), tsx (server), and vite +
@vitejs/plugin-react (client) at runtime, so these must be regular
dependencies.
@tavva tavva force-pushed the fix/concurrently-dependency branch from 9b9ca6c to 0d118d3 Compare March 2, 2026 13:35
@tavva tavva changed the title fix: move concurrently to dependencies fix: move runtime deps out of devDependencies so npx works Mar 2, 2026
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.

1 participant