A
A
Alexander Gamov2017-11-02 13:02:49
bash
Alexander Gamov, 2017-11-02 13:02:49

Installation via bash script from under root, why are node-sass hooks not installed?

There is a bash script, which, in fact, consists of a set of commands. I pull the current version of the project from the git and put the dependencies npm iOn which I get an error, they say I can’t create the /nome_modules/node-sass/vendor folder.
I understand that node-sass is trying to put down its dependencies, but it can’t. the folder with scripts was created from the root (I run the script from it, because it is necessary), but why is that?
I considered the option of putting this part into a separate script and running it from another user, but then the question is then from whom to run, because in fact we will come to the same thing.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question