I want to set up a repository that uses Storybook and Stylelint, but got the error below.
TypeError: Cannot read properties of undefined (reading 'stringify')
at Function.stringify (#####/node_modules/postcss-syntax/stringify.js:8:38)
at MapGenerator.generate (#####/node_modules/stylelint/node_modules/postcss/lib/map-generator.js:323:12)
at LazyResult.stringify (#####/node_modules/stylelint/node_modules/postcss/lib/lazy-result.js:277:20)
at LazyResult.runAsync (#####/node_modules/stylelint/node_modules/postcss/lib/lazy-result.js:443:17)
at LazyResult.async (#####/node_modules/stylelint/node_modules/postcss/lib/lazy-result.js:221:30)
at LazyResult.then (#####/node_modules/stylelint/node_modules/postcss/lib/lazy-result.js:206:17)
Here's the repository that reproduces this issue
How can I fix this?