Bower: “command not found” after installation

前端 未结 11 1909
青春惊慌失措
青春惊慌失措 2020-11-29 02:05

I seem to be getting the following when I execute npm install bower -g

/usr/local/share/npm/bin/bower -> /usr/local/share/npm/lib/node_module         


        
11条回答
  •  爱一瞬间的悲伤
    2020-11-29 02:32

    If you have a 'non standard' installation, you need to find the node bin location location with:

    npm config list
    

    Then add the node bin location to your ~/.bash_profile

    export PATH=:$PATH

    Remember to open a new terminal to test, or source ~/.bash_profile

提交回复
热议问题