I thought I was getting an error when I try and create the lnsocket connection to my node, it’s on the same machine so I was just passing 0.0.0.0 for the url with the pubkey. But I think it’s failing loading the .wasm file actually.

Reply to this note

Please Login to reply.

Discussion

input: '/home/azureuser/lightning-backend/node_modules/lnsocket/dist/node/lnsocket.wasm',

code: 'ERR_INVALID_URL'

oh crap i think this is a nodejs bug, i had to revert to an old nodejs version. You could try lnmessage as well its a pure js version

Yeah, seems like a node issue like you said