A
A
Alexander Bulatov2020-02-20 11:08:29
Windows
Alexander Bulatov, 2020-02-20 11:08:29

How to install Yarn on OpenServer so that it can be called globally from the console?

Hello!

I would like to ask for help to figure it out, I installed Yarn in the following directory
C:\OpenServer\modules\yarn

But when it is called, nothing is executed anyway.

Please tell me what is wrong, what else needs to be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Bulatov, 2020-02-20
@alexanderbulatov

I found a solution.
You need to change the setting on the Server tab to the following value:
Custom Path + userdata/config/path.txt + Win Path
And then create the path.txt file in the userdata\config directory and simply insert the full path to the program directory from a new line. Restart the server and voila!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question