"socket hang up" error on NodeJS Custom Script

Hi,

using the platform.api methods within a NodeJS Custom Script I get the following result:

{
    "error": {
        "message": "socket hang up",
        "code": 500
    }
}

I tried to use the get and post methods from the NodeJs CRUD example with both, internal and external path.

DreamFactory Version: 2.7.0, Github install method, fresh setup’ed system.

Any suggestions on that?

That’s what the log said, nothing special here:

[2017-06-16 15:19:09] local.INFO: [REQUEST] {"API Version":"2.0","Method":"GET","Service":"njstest","Resource":null} 
[2017-06-16 15:19:09] local.INFO: [RESPONSE] {"Status Code":500,"Content-Type":"application/json"} 

UPDATE: I found out that the NodeJS 8 version might caused that issue. NodeJs 7 works as expected.