Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluebird makeNodePromisified is not a function #63

Open
steven-haddix opened this issue Oct 18, 2016 · 0 comments
Open

Bluebird makeNodePromisified is not a function #63

steven-haddix opened this issue Oct 18, 2016 · 0 comments

Comments

@steven-haddix
Copy link

When I run my site without target: 'node' in the webpack.config I get the the following error.

ERROR in TypeError: makeNodePromisified is not a function
    at promisifyAll (eval at <anonymous> (app:2866:2), <anonymous>:3422:19)
    at Function.Promise.promisifyAll (eval at <anonymous> (app:2866:2), <anonymous>:3468:13)
    at eval (eval at <anonymous> (app:3028:2), <anonymous>:9:25)
    at Object.<anonymous> (app:3028:2)
    at __webpack_require__ (app:30:30)
    at eval (eval at <anonymous> (app:3022:2), <anonymous>:1:15)
    at Object.<anonymous> (app:3022:2)
    at __webpack_require__ (app:30:30)
    at eval (eval at <anonymous> (app:1900:2), <anonymous>:14:29)
    at Object.<anonymous> (app:1900:2)
    at __webpack_require__ (app:30:30)
    at eval (eval at <anonymous> (app:1894:2), <anonymous>:15:18)
    at Object.<anonymous> (app:1894:2)
    at __webpack_require__ (app:30:30)
    at eval (eval at <anonymous> (app:1888:2), <anonymous>:13:15)
    at Object.<anonymous> (app:1888:2)
    at __webpack_require__ (app:30:30)
    at eval (eval at <anonymous> (app:1882:2), <anonymous>:13:13)
    at Object.<anonymous> (app:1882:2)
    at __webpack_require__ (app:30:30)
    at eval (eval at <anonymous> (app:154:2), <anonymous>:54:15)
    at Object.<anonymous> (app:154:2)

I'm pretty sure this is an issue with Bluebird being optimized for the browser. Running the configuration with target: 'node' doesn't quite feel right as I think it adds in node code that I don't want.

Has anyone ran into this issue or have any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant