How can I run bower?

55 views
Skip to first unread message

Antonio Apostoliu

unread,
Jul 16, 2015, 7:13:01 AM7/16/15
to wpn...@googlegroups.com
Hello


I install WPNXM in C:/s2
I selected at install node and git.
I create C:/s2/www/p1 folder.
In p1 folder I unzip laravel5-example-master.zip from https://github.com/bestmomo/laravel5-example
From p1 folder I installed bower with C:/s2/bin/node/npm install -g bower

When I execute the command:
C:\s2\www\p1>c:/s2/bin/node/bower install
Conemu returns:
bower bootstrap-sass-official#~3.3.1           ENOGIT git is not installed or not in the PATH

How can I use git from current WPNXM  install ?

or

I need to install separate git like in:
https://bardevblog.wordpress.com/2013/10/26/a-simple-tutorial-of-setting-up-and-using-bower-on-windows/

Best regards

WPN-XM

unread,
Jul 16, 2015, 7:37:28 AM7/16/15
to wpn...@googlegroups.com, antonioa...@gmail.com
Hey Antonio,

thank you for reporting this issue.

All the steps you did are correct.

It seems the component "msysgit" is not extracted correctly and not added to the environment PATH.
I've created a new ticket over at Github in order to bugfix this issue: https://github.com/WPN-XM/WPN-XM/issues/443

The workaround is to download "msysgit" manually and install it.
That makes Git available on your system and the command `bin/node/bower install` will run smoothly.

(Sidenote: running `bower install` in ConEmu looks kind of weird, because of the animated loading indicator, which adds newlines. 
I don't know, if this is a bug in ConEmu or if there is some kind of configuration directive to tweak the new-line handling and the output.)

Best, Jens
Reply all
Reply to author
Forward
0 new messages