I just reset my Macbook and am getting "command not found" after installing packages via npm.
I have a working install of npm and node on my machine:
$ node -v
v18.9.0
$ npm -v
8.19.1
I've used npm install within my project directory, and can see the node_modules folder with the associated commands.
However, when I run something like eslint, I get:
$ eslint
zsh: command not found: eslint
My path is up-to-date:
$ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
I'm assuming that my machine isn't able to find the installed packages, but I don't know how to fix this.