bluebird
bluebird copied to clipboard
can't resolve async_hooks
(This issue tracker is only for bug reports or feature requests, if this is neither, please choose appropriate channel from http://bluebirdjs.com/docs/support.html)
Please answer the questions the best you can:
- What version of bluebird is the issue happening on? ^3.5.0
- What platform and version? (For example Node.js 0.12 or Google Chrome 32) node v8.16.1 and v8.12.1 (tested on both)
- Did this issue happen with earlier version of bluebird? no (Write description of your issue here, stack traces from errors and code that reproduces the issue are helpful) seeing this issue with ^3.5.0 can't resolve 'async_hooks' in /node_modules/bluebird/js/release node_modules/bluebird/js/release/promise.js 34:4-26
seems like switching to version 3.5.0 fixed it
cant repro
This happens when Node < 8
is used, log process.version
you will see it's not actually Node 8 and you have something else going on
How to fix?
@ultrakeypoint if you're using Deno (just going by the icon) you need to use the browser version of bluebird or ideally use native promises instead.