-
Notifications
You must be signed in to change notification settings - Fork 18
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
bower ESUDO Cannot be run with sudo #11
Comments
bower install --allow-root seemed to do the trick. |
You shouldn't run/install node/bower with |
The problem is i didn't installed it with sudo, so don't know why this message appears. On my VPS i also have the same error. |
On my vps i have node 0.11. But still no luck. This is my install log: [root@srv01 nodejs]# nvm use 0.11
|
I'm using this project on Heroku with continuously deployed by Codeship without problem. |
I Created a app on Heroku, and it's running from there right now, so it's working. I also got no clue why this won't run on my VPS without this error. If i add the --allow-root option is does install the brew-ui. Maybe a solution is to add this to the postinstall in the brew-ui package? |
Hi,
I'm trying to install this package, but it is failing at the brew-ui@1.4.0 postinstall script.
During npm install i receive this error:
[root@srv01 BrewCore]# npm install
make: Entering directory
/home/nodejs/BrewCore/node_modules/brew-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o make: Leaving directory
/home/nodejs/BrewCore/node_modules/brew-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'bower ESUDO Cannot be run with sudo
Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.
http://www.joyent.com/blog/installing-node-and-npm
https://gist.github.com/isaacs/579814
You can however run a command with sudo using --allow-root option
npm ERR! Linux 2.6.32-042stab092.3
npm ERR! argv "/root/.nvm/v0.11.14/bin/node" "/root/.nvm/v0.11.14/bin/npm" "install"
npm ERR! node v0.11.14
npm ERR! npm v2.0.0
npm ERR! code ELIFECYCLE
npm ERR! brew-ui@1.4.0 postinstall:
bower install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the brew-ui@1.4.0 postinstall script.
npm ERR! This is most likely a problem with the brew-ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install
npm ERR! You can get their info via:
npm ERR! npm owner ls brew-ui
npm ERR! There is likely additional logging output above.
The text was updated successfully, but these errors were encountered: