From 676351aaf1b0766940e22ccd507d9a18fb7e5abc Mon Sep 17 00:00:00 2001
From: woodser <woodser@protonmail.com>
Date: Tue, 12 Mar 2024 11:36:57 -0400
Subject: [PATCH] document using --no-experimental-fetch flag for node >16

---
 README.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README.md b/README.md
index 7cdaa0a1f..c620d9723 100644
--- a/README.md
+++ b/README.md
@@ -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.