Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyNodeJSnpm and package.jsonSingle-choice MCQ

You run `npm start` and it works, but `npm build` fails with an error about an unknown command, even though package.json has a `"build"` script. Why?

{ "scripts": { "start": "node index.js", "build": "tsc" } }