Categories
How to run yarn scripts in package.json from a different directory?
There is a project in the path1 folder. i am in path2 folder. How can I reach path1 from path2 by running `yarn run myscript`?
Answer the question
In order to leave comments, you need to log in
yarn --cwd path/to/package command_script found. --cwd.
yarn --cwd path/to/package command_script
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question