Skip to content

Fix ExperimentalWarning: Readable[Symbol.asyncIterator] error #4794

@mmswi

Description

@mmswi

Clearly describe the bug

After updating from 13.3.3 to 13.5.0 I get the following error in PhPStorm

/Users/.../.nvm/versions/node/v10.15.1/bin/node /Users/.../project-path/node_modules/stylelint/bin/stylelint.js -f json --stdin-filename source/pages/Page.vue
[{"source":"/Users/.../project-path/source/pages/Page.vue","deprecations":[],"invalidOptionWarnings":[],"parseErrors":[],"errored":false,"warnings":[]}]
(node:23664) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time

Which rule, if any, is the bug related to?

no rule

What code is needed to reproduce the bug?

e.g.

async function () {
            await httpCall()
        }

What stylelint configuration is needed to reproduce the bug?

e.g.

{
    "extends": [
        "stylelint-config-standard",
        "stylelint-config-recommended-scss",
        "stylelint-config-rational-order"
    ],
    "rules": {
        "indentation": 4,
        "rule-empty-line-before": null,
        "at-rule-empty-line-before": null,
        "declaration-empty-line-before": null,
        "no-descending-specificity": null,
        "number-leading-zero": "never",
        "string-quotes": "double",

        "scss/at-import-no-partial-leading-underscore": true,
        "scss/no-duplicate-mixins": true
    }
}

Which version of stylelint are you using?

e.g. 13.5.0

How are you running stylelint: CLI, PostCSS plugin, Node.js API?

PhPStorm with Inspections

Does the bug relate to non-standard syntax (e.g. SCSS, Less etc.)?

e.g. "Yes, it's related to javascript"

What did you expect to happen?

e.g. "No warnings to be flagged."

What actually happened (e.g. what warnings or errors did you get)?

e.g. "The following warnings were flagged:"

/Users/.../.nvm/versions/node/v10.15.1/bin/node /Users/.../project-path/node_modules/stylelint/bin/stylelint.js -f json --stdin-filename source/pages/Page.vue
[{"source":"/Users/.../project-path/source/pages/Page.vue","deprecations":[],"invalidOptionWarnings":[],"parseErrors":[],"errored":false,"warnings":[]}]
(node:23664) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions