Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
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
.
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 questionAsk a Question
731 491 924 answers to any question