I am trying to connect to a peer of the network via fabric-network SDK 2.2.
I have taken as starting point the connection profile provided in here, modified to my network setup and try to connect, but got the error in the title.
As test, I have copied the example, expecting to receive a different error related to configuration, but the error is the same (so should not be a problem with the format of the JSON).
Console log shows the JSON is properly read from the file.
Any way I can debug fabric-network SDK to find out where the problem is ?
Thanks in advance for your help!