javascript - Replace node's native domain module -


there's native node module called domain being deprecated. i'm interested in copying , running local version changes.

i tried copy module source , require copy , error.

assertion failed: (args[1]->isobject()), function setupdomainuse, file ../src/node.cc, line 950. abort trap: 6 

here's i'm running:

$ node -pe process.versions  { http_parser: '2.5.0',   node: '2.5.0',   v8: '4.2.77.21',   uv: '1.6.1',   zlib: '1.2.8',   ares: '1.10.1-dev',   modules: '44',   openssl: '1.0.2d' } 

how replace node's native domain module local 1 copied?

you're using domain module on master branch, you're using io.js v2.5.0 should use module belonging version (here).

after that, need comment out this line before load properly.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -