Skip to content

Commit

Permalink
document using --no-experimental-fetch flag for node >16
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Mar 13, 2024
1 parent 466b6b6 commit 676351a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ await walletFull.close(true);

Node 20 LTS is recommended. Alternatively, Node 16 and 18 LTS work using the `--experimental-wasm-threads` flag.

If using Node >16, use the `--no-experimental-fetch` flag to avoid the error "Failed to parse URL from /path/to/file.wasm".

#### Building a browser application
1. Bundle your application code for a browser. See [xmr-sample-app](https://github.com/woodser/xmr-sample-app) for an example project using webpack.
2. Copy assets from ./dist to your web app's build directory.
Expand Down

0 comments on commit 676351a

Please sign in to comment.