-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run private-bower #272
Comments
I'm also getting this... Using Ubuntu 16.04 and here are all my node/npm/bower installs:
My config file looks like this (with hostname and password pulled out):
But I'm seeing the error that @sergey-suloev posted above regardless of specifying a config or not. A coworker of mine was able to run the scripts that are included in this repo manually in a node console (on the server we're trying to set this up on) and they worked, but that can't actually be our solution. Any thoughts would be appreciated! |
@tylercrocker As far as I remember this issue can be fixed by removing Windows-style line endings from the private-bower script. I don't have a bash example at hand, try sed. |
I also had the same issue and converted the line endings using |
@sergey-suloev Thanks for the feedback, we were assuming it was something like that, but I wasn't able to immediately find this. Sounds like @siseko was able to get it to work, but it IS weird that it even has this issue? We no longer have a need for this, so we won't be pursing it any further; but hopefully a more straight-forward solution can be found for others? Thanks! |
Fixes upstream issue Hacklone/private-bower#272
pi@haniraspi:~/bower$ sudo private-bower --config private-bower-config.json
/usr/bin/env: ‘node\r’: No such file or directory
The text was updated successfully, but these errors were encountered: