Monday, 12 June 2017

Global module installed but command not found

I installed node js from binaries.

Then extracted directory is symlink to /usr/bin

$EXTRACTED_NODE_BIN/node to /usr/bin/node 
$EXTRACTED_NODE_BIN/npm to /usr/bin/npm

Then I install global modules like

sudo npm install -g yarn

When call that module

yarn -v

I got command not found error.

-bash: yarn: command not found



via richersoon

No comments:

Post a Comment