Skip to content

Fix ConfigurationError: Could not find ... error #9244

@Stanzilla

Description

@Stanzilla

Getting a lot of these every since we updated to 17.9.0 in our monorepo, not sure if bug or a me-issue, hence the blank template.

ConfigurationError: Could not find "postcss-styled-syntax". Do you need to install the package or use the "configBasedir" option?     
at getModulePath (file:///Users/user/projects/work/frontend-worktrees/master/node_modules/.pnpm/stylelint@17.9.0_typescript@6.0.3/node_modules/stylelint/lib/utils/getModulePath.mjs:29:9)     
at absolutizePaths (file:///Users/user/projects/work/frontend-worktrees/master/node_modules/.pnpm/stylelint@17.9.0_typescript@6.0.3/node_modules/stylelint/lib/augmentConfig.mjs:191:25)     
at augmentConfigBasic (file:///Users/user/projects/work/frontend-worktrees/master/node_modules/.pnpm/stylelint@17.9.0_typescript@6.0.3/node_modules/stylelint/lib/augmentConfig.mjs:86:9)     
at async extendConfig (file:///Users/user/projects/work/frontend-worktrees/master/node_modules/.pnpm/stylelint@17.9.0_typescript@6.0.3/node_modules/stylelint/lib/augmentConfig.mjs:247:25)     
at async augmentConfigBasic (file:///Users/user/projects/work/frontend-worktrees/master/node_modules/.pnpm/stylelint@17.9.0_typescript@6.0.3/node_modules/stylelint/lib/augmentConfig.mjs:76:20)     
at async augmentConfigFull (file:///Users/user/projects/work/frontend-worktrees/master/node_modules/.pnpm/stylelint@17.9.0_typescript@6.0.3/node_modules/stylelint/lib/augmentConfig.mjs:129:24)     
at async getConfigForFile (file:///Users/user/projects/work/frontend-worktrees/master/node_modules/.pnpm/stylelint@17.9.0_typescript@6.0.3/node_modules/stylelint/lib/getConfigForFile.mjs:102:26)     
at async resolveOptionValue (file:///Users/user/projects/work/frontend-worktrees/master/node_modules/.pnpm/stylelint@17.9.0_typescript@6.0.3/node_modules/stylelint/lib/utils/resolveOptionValue.mjs:27:24)     
at async getFormatter (file:///Users/user/projects/work/frontend-worktrees/master/node_modules/.pnpm/stylelint@17.9.0_typescript@6.0.3/node_modules/stylelint/lib/utils/getFormatter.mjs:17:18)     
at async postcssPlugin.standalone [as lint] (file:///Users/user/projects/work/frontend-worktrees/master/node_modules/.pnpm/stylelint@17.9.0_typescript@6.0.3/node_modules/stylelint/lib/standalone.mjs:126:28)

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: wipis being worked on by someone

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions