bash command not found
Error
I get error on process npm install on mac. After successfully installed npm package tsd, tsd command get back error message:
$ -bash: tsd: command not found
All others npm packages not running. It’s look like bash don’t know path for node modules.
Command:
$ npm bin
Get back:
$ IF (not in PATH env variable)
Fix
For fix this issue add path for node modules in PATH
$ export PATH="/Users/<username>/.node/bin:$PATH"
For get bash username use command: whoami