From 9a32bea2ef9515a2fdba87cbdae40b9c9fbc9fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Tue, 8 Oct 2024 13:36:06 -0700 Subject: [PATCH] Add troubleshooting tip regarding the use of Node.js v22.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel D’Aquino --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 84b1eb2..6a7e430 100644 --- a/README.md +++ b/README.md @@ -74,4 +74,8 @@ curl -X PUT http:///admin/users//account-uuid -d '{"admin_password": "", "account_uuid": ""}' ``` +### Failures around Lightning Network payments +Ensure you are running Node.js v18.x. Preferably, use the provided nix-shell environment to ensure you are using the correct version of Node.js. + +There is a known issue with Node.js v22.x where the `ln.connect_and_init` call does not work with the way things are setup.