Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround note for Node hash error #68

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,26 @@ See the section about [deployment](https://facebook.github.io/create-react-app/d

Builds the app and publish it at the `homepage` URL given in the package.json.

### Troubleshooting

If you get the following error:

```
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
...
```

then set `NODE_OPTIONS=--openssl-legacy-provider` first. An example for Windows is:

```bat
set NODE_OPTIONS=--openssl-legacy-provider
npm start
```

A more proper fix is planned.

## WebAssembly

The proof visualizer allows to run the CVC5 solver inside the browser. The WebAssembly binary used to run this in the browser is compiled via [emscripten](https://emscripten.org/).
Expand Down