A
A
ayapergenov2015-06-04 10:46:31
css
ayapergenov, 2015-06-04 10:46:31

How to run bem on Ubuntu?

I clone the core of the bem project from github https://github.com/bem/bem-bl.git
I go to the cd bem-bl folder I
run the installation of dependencies sudo npm install I get an
error
The guys in yandex work on macos, everything works for them without problems.
Ubuntu and Windows have constant errors.
See screenshots of the terminal
0eb1377c5aa0489994b97efde1ac12da.pnge0930306c2dd4bc69caa7ee2ae0bb887.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Kitmanov, 2015-06-04
@k12th

Why are you doing sudo npm install? You don't need sudo to install the project's dependencies.
If you want to install bem-bl yourself , then this is sudo npm install bem-bl -g .
Concerning the resulted errors - try to deliver sudo apt-get install build-essentials.

V
Vladimir Grinenko, 2015-08-02
@tadatuta

1. bem-bl is a deprecated library, bem-core should be used instead .
2. The easiest way to start developing using BEM libraries is to use the project-stub project or generate a project for yourself using the yo-generator . Should run on Ubuntu with no problems. Even under Windows it should work if you follow the instructions.
PS: The most reliable way to get a prompt response is to ask questions on the official BEM forum .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question