{"id":437,"hash":"f6c48d703a0404e796e3e9027810f42adbc5d512b52d4bb45fe7f1eac4ceb08c","pattern":"npx command not found","full_message":"I am working with webpack and I need to execute ./node_modules/webpack/bin/webpack.js using npx. npx webpack would run the webpack binary (./node_modules/webpack/bin/webpack), but each time I execute npx webpack I get\nbash: npx: command not found.\n\nI am using:\n\nnode: v9.5.0\n\nnpm: 5.6.0\n\nnvm: 1.1.5\n\nwebpack: 3.11.0","ecosystem":"npm","package_name":"node.js","package_version":null,"solution":"npx should come with npm 5.2+, and you have node 5.6 .. I found that when I install node using nvm for Windows, it doesn't download npx.\nso just install npx globally:\n\nnpm i -g npx\n\nIn Linux or Mac OS, if you found any permission related errors use sudo before it.\n\nsudo npm i -g npx","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49894620/npx-command-not-found","votes":178,"created_at":"2026-04-19T04:51:08.342480+00:00","updated_at":"2026-04-19T04:51:08.342480+00:00"}