Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

NodeJS version supported by Edge

Hi,

Is the node.js v0.10.32 the only version supported by Edge (as described here)?

I'm trying to deploy a nodejs proxy with some modules installed and i'm getting an error which i think is related to the module not working with this node version.

This is the error message:

{
"fault":{
        "faultstring":"Script node executed prematurely: TypeError: Cannot call method "split" of undefined TypeError: Cannot call method "split" of undefined 
    at get_node_abi (\/organization\/environment\/api\/node_modules\/sqlite3\/node_modules\/node-pre-gyp\/lib\/util\/versioning.js:68:0)
    at get_runtime_abi (\/organization\/environment\/api\/node_modules\/sqlite3\/node_modules\/node-pre-gyp\/lib\/util\/versioning.js:87:0)
    at \/organization\/environment\/api\/node_modules\/sqlite3\/node_modules\/node-pre-gyp\/lib\/util\/versioning.js:280:0
    at \/organization\/environment\/api\/node_modules\/sqlite3\/node_modules\/node-pre-gyp\/lib\/pre-binding.js:23:0
    at \/organization\/environment\/api\/node_modules\/sqlite3\/lib\/sqlite3.js:3:0
    at require (module.js:380:0)
    at \/organization\/environment\/api\/index.js:3:0
    at startup (trireme.js:142:0)
    at trireme.js:923:0",
"detail":{
    "errorcode":"scripts.node.runtime.ScriptExitedError"
}
}}


Thanks in advance,

Solved Solved
1 4 1,097
1 ACCEPTED SOLUTION

Not applicable

If Node.js version on Trireme becomes an issue. You can try Hosted Targets. It's currently in beta, but pretty much you can use any version of Node.js.

View solution in original post

4 REPLIES 4