Documented installation method doesn't work with Node 18
Node version: 18.14.0 Bluebird version: 3.7.2
Hello, I would like to use Bluebird instead of native Promises because native stack traces give me no clue where to look for errors that are happening. I tried installation method described right there on getting started page:
import * as Promise from 'bluebird';
This works fine. Unfortunately, trying to call Promise.config() results in an error:
TypeError: Promise.config is not a function
This seems to indicate that the native Promise doesn't get overwritten. However, googling doesn't turn many results on that, which probably means that this isn't a widely encountered problem but only something wrong with my setup.
I'm enclosing an example source code file. Executing it with node bluebirdtest.js give me the aforementioned error.
Source: petkaantonov/bluebird