From eaeecec401846901c38aff8d083fb46f68545dbf Mon Sep 17 00:00:00 2001 From: Iliyas Date: Sat, 25 Mar 2023 01:38:44 +0600 Subject: [PATCH] added the solution for the possible error during yarn installation on Windows OS (#453) Signed-off-by: ilikmeister --- CHANGELOG.md | 1 + DEVELOPER_GUIDE.md | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81c51f83d..fb9d86769 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Added required `array` argument when invoking `SerializationError` ([#419](https://github.com/opensearch-project/opensearch-js/pull/419)) - Removed unnecessary `data` argument when invoking `OpenSearchClientError` ([#421](https://github.com/opensearch-project/opensearch-js/pull/421)) - Fixed typos in `ConnectionPool` ([#427](https://github.com/opensearch-project/opensearch-js/pull/427)) +- Added the solution for the possible error during yarn installation on Windows OS ([#435](https://github.com/opensearch-project/opensearch-js/issues/435)) ### Dependencies diff --git a/DEVELOPER_GUIDE.md b/DEVELOPER_GUIDE.md index 76dc090d8..4df75154b 100644 --- a/DEVELOPER_GUIDE.md +++ b/DEVELOPER_GUIDE.md @@ -47,6 +47,16 @@ To install all the dependencies needed for this project, run ``` yarn install ``` +There might be an issue on Windows OS: +``` +yarn. ps1 cannot be loaded because running scripts is disabled on this system +``` +If it occurs, open Windows PowerShell as an administrator and run: +``` +Set-ExecutionPolicy unrestricted +``` +Then type `Y` +Now you can run `yarn install` ### Using ESLint