I\'m learning React and installed webpack through npm to my project directory but zsh is not finding the command even though I can see webpack installed in my project. I used
EDIT: Don't do this. Bad practice.
Easy way. Install it globally.
npm i -g webpack
If you will work with webpack, install webpack-dev-server too
npm i -g webpack-dev-server
I recommend you first learn a bit about npm and then webpack.