Changing Promise to Bluebird one causes warning
olegzhermal opened this issue · 0 comments
olegzhermal commented
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.