AndreasMadsen / trace

Creates super long stack traces
https://trace.js.org
MIT License
194 stars 18 forks source link

I get this error when running node 4.4.5 #29

Closed kevbook closed 8 years ago

kevbook commented 8 years ago

I get this error when running node 4.4.5

/node_modules/async-hook/async-hook.js:106
  asyncWrap.setupHooks({
            ^
TypeError: init callback must be a function
    at TypeError (native)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
AndreasMadsen commented 8 years ago

Known issue. This is fixed in node v4.5 (not yet released). A work around is to replace async-hook with version 1.2.0.

Follow the v4.5 release here https://github.com/nodejs/node/pull/7688

AndreasMadsen commented 8 years ago

v4.5.0 is now available.