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

Changing Promise to Bluebird one causes warning #297

Open
olegzhermal opened this issue Mar 18, 2020 · 0 comments
Open

Changing Promise to Bluebird one causes warning #297

olegzhermal opened this issue Mar 18, 2020 · 0 comments

Comments

@olegzhermal
Copy link

There are several similar warnings in node referring react-svg-loader package:
Warning: a promise was created in a handler at .../node_modules/react-svg-loader/lib/loader.js:19:22 but was not returned from it, see http://goo.gl/rRqMUw at new Promise (.../node_modules/bluebird/js/release/promise.js:103:10)

The environment is that standard promise is replace with the one from bluebird 3.7.2.

The warning is presumably caused because return statement is omitted somewhere in the Promises chain --> if everything everywhere is correct, there should be presumably return null.

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