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

Issue with postcss 8.40 #1338

Closed
onigoetz opened this issue Nov 26, 2021 · 1 comment
Closed

Issue with postcss 8.40 #1338

onigoetz opened this issue Nov 26, 2021 · 1 comment

Comments

@onigoetz
Copy link
Member

[15:22:42] 'css__lint' errored after 1.82 s
[15:22:42] TypeError in plugin "gulp-postcss"
Message:
    opts.node.rangeBy is not a function
Details:
    fileName: /home/sgoetz/workspace/sq/squp-archetype-example/server-war/src/main/frontend/css/Fieldset.scss
    domainEmitter: [object Object]
    domainThrown: false

Stack:
TypeError: opts.node.rangeBy is not a function
    at new Warning (/home/sgoetz/workspace/sq/squp-archetype-example/server-war/src/main/frontend/node_modules/stylelint-no-unsupported-browser-features/node_modules/postcss/lib/warning.js:9:29)
    at Result.warn (/home/sgoetz/workspace/sq/squp-archetype-example/server-war/src/main/frontend/node_modules/stylelint-no-unsupported-browser-features/node_modules/postcss/lib/result.js:26:19)

Works with

  "resolutions": {
    "css_loader/postcss": "8.3.10",
    "doiuse/postcss": "8.3.10",
    "stylelint-no-unsupported-browser-features/postcss": "8.3.10"
  }

Seems to be introduced by https://github.com/postcss/postcss/releases/tag/8.4.0

@onigoetz
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant