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

[v2.0.6] bluebird warnings #284

Closed
czaarek99 opened this issue Aug 22, 2017 · 6 comments
Closed

[v2.0.6] bluebird warnings #284

czaarek99 opened this issue Aug 22, 2017 · 6 comments

Comments

@czaarek99
Copy link

My express application starts with this line global.Promise = require("bluebird");. And when postcss-loader runs bluebird spews out this warning:

(node:13276) Warning: a promise was created in a handler at C:\Programming\HtmlProjects\Shadow\node_modules\postcss-loader\lib\index.js:173:16 but was not returned from it, see http://goo.gl/rRqMUw at new Promise (C:\Programming\HtmlProjects\Shadow\node_modules\bluebird\js\release\promise.js:79:10)

The same warning is repeated about 15 times.

@alexander-akait
Copy link
Member

@czaarek99 what is version postcss-loader your use ? Because on https://github.com/postcss/postcss-loader/blob/master/lib/index.js#L173 line there is no promises which return something

@czaarek99
Copy link
Author

I'm using version 2.0.6

@alexander-akait
Copy link
Member

@czaarek99 can your create minimum reproducible test repo?

@michael-ciniawsky
Copy link
Member

What's the status here ? Maybe related to #269, but postcss-loader won't receive any changes for custom libs unrelated to itself, especially if an ECMA Standard exists

@czaarek99
Copy link
Author

@michael-ciniawsky Yeah, that's for sure the same issue that I'm having.

@yizhizailusang
Copy link

I have the same problem,postcss-loader version is "^3.0.0", how to solve it,thanks~

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

4 participants