Build Problem : bower ESUDO Cannot be run with sudo

1,120 views
Skip to first unread message

Eren Şentürk

unread,
Jul 28, 2015, 1:21:54 PM7/28/15
to kurento
Hello,

I am using latest kurento 6 on Ubuntu 14.04.

When i build tutorial -5 (1to1 advanced), I got the following error message.

I never run any command with sudo.

How can i fix it?

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

charlie...@gmail.com

unread,
Jul 29, 2015, 3:52:16 AM7/29/15
to kurento, sntrk...@gmail.com
add "--allow-root" at the end of your command or create a file /root/.bowerrc and put in it
{ "allow_root": true }

Eren Şentürk

unread,
Jul 29, 2015, 12:13:35 PM7/29/15
to kurento, charlie...@gmail.com
Thanks for reply.

I created .bowerrc file. This problem is solved but new one is occurred. I'll post it as a new topic.

https://groups.google.com/forum/#!topic/kurento/A1ENqfjgO7A

Ivan Gracia

unread,
Aug 6, 2015, 10:34:31 AM8/6/15
to Kurento Public, charlie...@gmail.com
I think running bower as sudo will have other implications, as you can see in that post. It will try to install files in places for which you probably won't have permissions, as in that post. I'd rather fix that bower installation than use that flag.

Ivan Gracia



--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages