Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 28, 2021. It is now read-only.
This repository was archived by the owner on Dec 28, 2021. It is now read-only.

Error using PostCSS 8 #69

@ehoogeveen-medweb

Description

@ehoogeveen-medweb

Processing my css files with the newly released PostCSS 8, I get the error below:

TypeError: string is not iterable
    at Object.split (<omitted>\node_modules\postcss\lib\list.js:13:24)
    at Object.comma (<omitted>\node_modules\postcss\lib\list.js:51:17)
    at Rule.get selectors [as selectors] (<omitted>\node_modules\postcss\lib\rule.js:14:17)
    at isRuleWithinRule (<omitted>\node_modules\postcss-nesting\index.cjs.js:51:102)
    at <omitted>\node_modules\postcss-nesting\index.cjs.js:114:11
    at Array.forEach (<anonymous>)
    at walk (<omitted>\node_modules\postcss-nesting\index.cjs.js:112:23)
    at <omitted>\node_modules\postcss-nesting\index.cjs.js:125:9
    at Array.forEach (<anonymous>)
    at walk (<omitted>\node_modules\postcss-nesting\index.cjs.js:112:23)
    at LazyResult.runOnRoot (<omitted>\node_modules\postcss\lib\lazy-result.js:287:16)
    at LazyResult.runAsync (<omitted>\node_modules\postcss\lib\lazy-result.js:339:26)
    at async Promise.all (index 21)

I don't know if the new version is triggering a bug in postcss-nesting or if it simply needs to be made compatible. Let me know if you need an actual testcase (I'm just filing this quickly to make you aware).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions