Skip to content

Commit

Permalink
[CCI] Update developerGuide regarding yarn troubleshoot steps (opense…
Browse files Browse the repository at this point in the history
…arch-project#456)

Revised yarn installing troubleshoot steps(Windows)

Signed-off-by: Didar Tursunov <89772209+Wielmany@users.noreply.github.com>
  • Loading branch information
Wielmany authored and AMoo-Miki committed Jul 12, 2023
1 parent a4cc1c1 commit 47deb9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Make fields in `BulkOperation` optional to match OpenSearch Bulk API requirements ([#378](https://github.com/opensearch-project/opensearch-js/pull/378))
- Remove guidance on using npm and switch completely to yarn in developer_guide ([#439](https://github.com/opensearch-project/opensearch-js/issues/435))
- Change coverage, compatability, integration, integration with unreleased Open Search, node ci, bundler tests not to run on documentation change ([441](https://github.com/opensearch-project/opensearch-js/pull/441))

- Change the Windows yarn installation troubleshoot steps ([455](https://github.com/opensearch-project/opensearch-js/issues/455))
### Deprecated

- Remove deprecation warnings in bulk.test.js ([#434](https://github.com/opensearch-project/opensearch-js/issues/434))
Expand Down
10 changes: 7 additions & 3 deletions DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,16 @@ 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:
If this occurs, open Windows PowerShell and run:
```
Set-ExecutionPolicy unrestricted
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
```
Then type `Y`
Agree to the changes.
Now you can run `yarn install`
If the problem persists, you can try to open Windows PowerShell as an administrator and run:
```
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
```

### Using ESLint

Expand Down

0 comments on commit 47deb9f

Please sign in to comment.