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

Missing stylelint dependency: stylelint-config-prettier #5242

Closed
pbauer opened this issue Sep 29, 2023 · 1 comment
Closed

Missing stylelint dependency: stylelint-config-prettier #5242

pbauer opened this issue Sep 29, 2023 · 1 comment

Comments

@pbauer
Copy link
Member

pbauer commented Sep 29, 2023

To Reproduce
Steps to reproduce the behavior:

  1. Install newest generator npm install -g @plone/generator-volto@7.0.0-alpha.10
  2. Create Project with Volto 17.0.0-alpha.30 yo @plone/volto --canary
  3. Run yarn stylelint
  4. See error
Error: Could not find "stylelint-config-prettier". Do you need the "configBasedir" or "--config-basedir" option?
    at configurationError (/Users/pbauer/workspace/ipn/ipn-frontend/node_modules/stylelint/lib/utils/configurationError.js:12:49)
    at getModulePath (/Users/pbauer/workspace/ipn/ipn-frontend/node_modules/stylelint/lib/utils/getModulePath.js:28:9)
    at loadExtendedConfig (/Users/pbauer/workspace/ipn/ipn-frontend/node_modules/stylelint/lib/augmentConfig.js:216:21)
    at extendConfig (/Users/pbauer/workspace/ipn/ipn-frontend/node_modules/stylelint/lib/augmentConfig.js:184:25)
    at augmentConfigBasic (/Users/pbauer/workspace/ipn/ipn-frontend/node_modules/stylelint/lib/augmentConfig.js:57:26)
    at augmentConfigFull (/Users/pbauer/workspace/ipn/ipn-frontend/node_modules/stylelint/lib/augmentConfig.js:111:30)
    at Object.transform (/Users/pbauer/workspace/ipn/ipn-frontend/node_modules/stylelint/lib/getConfigForFile.js:51:37)
    at search (/Users/pbauer/workspace/ipn/ipn-frontend/node_modules/stylelint/node_modules/cosmiconfig/dist/Explorer.js:47:54)
    at async Explorer.search (/Users/pbauer/workspace/ipn/ipn-frontend/node_modules/stylelint/node_modules/cosmiconfig/dist/Explorer.js:71:20)
    at async getConfigForFile (/Users/pbauer/workspace/ipn/ipn-frontend/node_modules/stylelint/lib/getConfigForFile.js:62:5)
@pbauer
Copy link
Member Author

pbauer commented Sep 29, 2023

Fixed with #5243

@pbauer pbauer closed this as completed Sep 29, 2023
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