Skip to content

Prefer npm start over npx cds-serve - #2842

Merged
chgeo merged 1 commit into
mainfrom
no-npx
Aug 27, 2026
Merged

Prefer npm start over npx cds-serve#2842
chgeo merged 1 commit into
mainfrom
no-npx

Conversation

@chgeo

@chgeo chgeo commented Aug 27, 2026

Copy link
Copy Markdown
Member

npx might download the wrong package from remote if it can't find the command locally. So avoid it in clear cases like here where we have an npm start script.

`npx` might download the wrong package from remote if it can't find
the command locally.  So avoid it in clear cases like here where we
have an `npm start` script.
@chgeo
chgeo added this pull request to the merge queue Aug 27, 2026
Merged via the queue into main with commit 1a300be Aug 27, 2026
4 checks passed
@chgeo
chgeo deleted the no-npx branch August 27, 2026 08:54
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