Friday, 5 May 2017

Soap with Node: "TypeError: path must be a string or Buffer"

I am calling a WSDL using Strong-Soap in Node.js. It worked fine on localhost but I am running into trouble when deploying. The error I am getting is TypeError: path must be a string or Buffer and it seems to relate to fs in relation to Strong-Soap. The top of the error stack is Object.fs.readFile and the next item is node_modules/strong-soap/src/parser/wsdl.js. Is this a bug in Strong-Soap that I can remedy by changing the code in the module?



via eabates

No comments:

Post a Comment