From 13d45a1d9c56f2b969ff750af05206eb2395b658 Mon Sep 17 00:00:00 2001 From: albertlau128 <32214383+albertlau128@users.noreply.github.com> Date: Wed, 29 Mar 2023 01:11:12 +0800 Subject: [PATCH] Update readme with script re: nodejs and openssl Have node 16 but still coming across error 0308010C, wrote down ways in alleviating and for future reference. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index accfa4106d..7a0b8a8acb 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,8 @@ Note that this process is for Windows. Use equivalent actions for other operatin 5. `yarn && cd gulp && yarn && yarn gulp`. This will take a while, but afterwards shapez.io should be running in a browser tab (there may be an error at first, but it should quickly go away). - Note that if both `yarn` commands respond with `Already up-to-date`, you only have to run `cd gulp && yarn gulp` in the future, as long as there are no changes to the dependencies. - Also note that `cd gulp` takes you from the `shapez.io` directory to the `gulp` directory. If you are already in the `gulp` directory (current directory is by the prompt), skip the `cd gulp` command. + - If you come across the error `error:0308010C:digital envelope routines::unsupported`, run the `yarn gulp` command with added param `yarn gulp --openssl-legacy-provider` with reference to [here](https://stackoverflow.com/questions/73144960/error-error0308010cdigital-envelope-routinesunsupported-at-new-hash-nodei). + - If you find the browser showing empty page, try F5 or check CLI logs. **SWITCHING BUILD** - If you want to run a specific pull request, run `gh pr checkout [pr number]`