Closed niksy closed 8 years ago
I got same warning.
Warning: a promise was rejected with a non-error: [object Undefined]
at /Users/username/work/dev/node_modules/postcss-sprites/lib/index.js:176:30
at /Users/username/work/dev/node_modules/postcss-sprites/lib/index.js:268:11
...
prepareGroupBy
is it the same problem?
I'm getting the same issue on version 4.1.1 when options.retina = true
, upgrading from postcss-sprites@2.0.3
to 4.1.1
.
As of v3.2.1, I get the following error in CLI output:
I suppose it’s related to https://github.com/2createStudio/postcss-sprites/commit/4b897c0e2bf12d40a5905eca73d96d1f5841faec and Bluebird promises handling: http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-rejected-with-a-non-error