Skip to Content
0
Jun 25, 2018 at 05:27 PM

What would cause "cb() never called!" error attempting to run node.js module?

516 Views Last edit Jun 26, 2018 at 10:30 AM 2 rev

Thank you in advanced for your time looking at this question.

The environment is HXE 2 SPS03.

The objective is to attach the Debugger to a node.js module within Web IDE.

When the XSA app's package.json file has the node engine set as "6.x" the application runs.

Though, when attempting to attach the Debugger, a message appears -> ("Debugging unavailable: Debugging not supported with Node.js < 8.1.0. Please consider upgrading engine in package.json").

Then, changing the package.json file's node engine entry from "6.x" to " ^8 " (as in the openSAP tutorial) and trying to run the node.js module causes an error.

The attached log file shows the error message. The package.json file has also been attached.

Please let me know if more information is necessary that'll help.

Thank you for your thoughts on this issue.

2018-06-25t15-51-46-763z-debuglog.txt packagejson.txt