Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества? Помогите нам с документацией!
0 Пользователей и 1 Гость просматривают эту тему.
curl -sL https://deb.nodesource.com/setup | sudo bash -sudo apt-get install nodejssudo apt-get install build-essential
sudo npm install --save-dev --global bowercd Рабочий\ стол/sudo mkdir bower-testcd bower-test
sudo bower init
bower ESUDO Cannot be run with sudoAdditional 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-npmhttps://gist.github.com/isaacs/579814You can however run a command with sudo using --allow-root option
bower init
Error: EACCES, permission denied '/home/ivan/.config/configstore/bower-github.yml'You don't have access to this file. at Object.fs.openSync (evalmachine.<anonymous>:439:18) at Object.fs.readFileSync (evalmachine.<anonymous>:290:15) at Object.create.all.get (/usr/lib/node_modules/bower/node_modules/configstore/index.js:34:29) at Object.Configstore (/usr/lib/node_modules/bower/node_modules/configstore/index.js:27:44) at readCachedConfig (/usr/lib/node_modules/bower/lib/config.js:19:23) at defaultConfig (/usr/lib/node_modules/bower/lib/config.js:11:12) at Object.<anonymous> (/usr/lib/node_modules/bower/lib/index.js:40:32) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32)
В чем проблема
You don't have access to this file.
как её исправит?
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.
Страница сгенерирована за 0.401 секунд. Запросов: 20.