I am working with webpack and I need to execute ./node_modules/webpack/bin/webpack.js using npx. npx webpack would run the webpack bin
./node_modules/webpack/bin/webpack.js
npx
npx webpack
Updating node helped me, whether that be from the command line or just re-downloading it from the web