Fixed! There is a popular issue when you try to make bower install and get the error about /usr/bin/env: "node": No such fileor directory. It's easy to fix.
for example, you get something like that
[email protected]:/var/www/space/public# bower install /usr/bin/env: ‘node’: No such file or directory
To fix it, just make a symbolic link for your node-js in /usr/bin folder, and that's it!
[email protected]:/usr/bin# node node-gyp nodejs [email protected]:/usr/bin# ln -s nodejs node