Showing posts with label FeatherJS. Show all posts
Showing posts with label FeatherJS. Show all posts

7/12/2021

SOLVED | Installing featherjs cli - feather command not found in zsh terminal after installing

Below are the steps I did to sort out the issue.


Step 1: Check the location of your global modules.

  • It is important to know where your global node modules are being installed, just type the command in your terminal "npm -g root" to see the location. Most likely it is under "/usr/local/lib/node_modules".


Step 2: Compare the npm root location to your npm config prefix.

  • Based on my observation, it looks like global packages will be installed based on the location you put in your npm config prefix. Just enter the command in your terminal "npm config get prefix" to see the location. You should see something like this "/usr/local" if your npm root looks this "/usr/local/lib/node_modules". If not then you have to change the path of your prefix.


Step 3: Re-install the package and restart your terminal


done