I updated Meteor to 1.11.1
(also tried 1.12.0
) and now I can’t build (neither build
, nor locally using --production
) anymore. However, development on localhost runs fine, while meteor reset
did no effect. The biggest problem is, that the error output is not helpful in finding the source of the error.
It stops at minification with the following error output:
While minifying app stylesheet:
<input css 22>:5185:5: Lexical error on line 1: Unrecognized text.
Erroneous area:
1: -5px - 0 !important
^...........^
at <input css 22>:5185:5
at Object.parseError (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/parser.js:1200:15)
at Object.lexer_parseError (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/parser.js:2333:44)
at Object.lexer_next (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/parser.js:3328:22)
at Object.lexer_fastLex (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/parser.js:3403:18)
at fastLex (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/parser.js:1603:27)
at Parser.parse (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/parser.js:1677:30)
at /home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/lib/transform.js:33:30
at walk (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-value-parser/lib/walk.js:7:16)
at ValueParser.walk (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-value-parser/lib/index.js:18:3)
at transformValue (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/lib/transform.js:24:50)
at _default (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/lib/transform.js:66:100)
at /home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/index.js:27:32
at container.es6:110:18
at Rule.each (container.es6:76:16)
at Rule.walk (container.es6:107:17)
at container.es6:121:24
at Root.each (container.es6:76:16)
at Root.walk (container.es6:107:17)
at /home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/postcss-calc/dist/index.js:23:9
at initializePlugin (/home/username/.meteor/packages/seba_minifiers-autoprefixer/.2.0.1.12squz0.tozb++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdCSS.os/npm/node_modules/meteor/minifier-css/node_modules/cssnano/dist/index.js:31:51)
at /home/username/.meteor/packages/meteor-tool/.1.11.1.1ya5b3a.s696k++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:40
Now I have nowhere any -5px - 0 !important
in my whole project nor did I change anythin in the scss files.
My build packages are
standard-minifier-js@2.6.0
fourseven:scss@4.12.0
seba:minifiers-autoprefixer@2.0.1
Other infos:
- scss linter passes, too
- replacing
seba:minifiers-autoprefixer
withstandard-minifier-css
it throws nearly the same error but withstandard-minifier-css
in the paths - I updated via
meteor update --all-packages