node-livedocx icon indicating copy to clipboard operation
node-livedocx copied to clipboard

I am getting an error regarding http.js

Open rajeshwarpatlolla opened this issue 6 years ago • 4 comments

screen shot 2018-08-06 at 10 36 12 pm

This is because of the line #11 in node-livedocx/index.js file. The line is http = require('./node_modules/soap/lib/http.js');

Even after resolving that issue, the output file is not generating. screen shot 2018-08-06 at 10 43 24 pm

rajeshwarpatlolla avatar Aug 06 '18 17:08 rajeshwarpatlolla

@rajeshwarpatlolla the first error seems to be related to a missing dependency... The other seems likely due to incorrectly calling the function ... Have you tried the exact example code first?

fruitl00p avatar Aug 13 '18 11:08 fruitl00p

Yes, i tried the same example.

rajeshwarpatlolla avatar Aug 13 '18 11:08 rajeshwarpatlolla

@rajeshwarpatlolla which version of Node are you using?

fruitl00p avatar Aug 13 '18 12:08 fruitl00p

I got these errors using Node 8.10.0 and after upgrading also on 10.12.0

Perhaps for the first error index.js could define const http = soap.http or alternatively make the calls like soap.http

Also I'm guessing old URL since going to livedocx.com leads me to a REST-based service (https://portal.reporting.cloud/Documentation/Reference/)

steadystatic avatar Oct 16 '18 19:10 steadystatic