node.js - Bower no such file or directory: /opt/local/bin/bower -


i have uninstalled macport , trying homebrew. after installing node using brew. installed bower didn't give error.

     $npm install -g bower     => ~/npm-global/bin/bower -> ~/npm-global/lib/node_modules/bower/bin/bower     => ~/npm-global/lib
after installation, tried bower errors out
     $bower     => no such file or directory: /opt/local/bin/bower


earlier have run following issue. https://github.com/bower/bower/issues/1335

as part of fix had alias in ~/.zshrc alias bower='noglob /opt/local/bin/bower'

i had change alias bower='noglob bower'


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -