Zsh: command not found: webpack

Viewed 35196

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 npm init --yes followed by npm install --save webpack

6 Answers

if you're on windows, try to get %USERPROFILE%\Appdata\Roaming\npm into your path and try again.

Related