Closed yanbowe closed 2 years ago
Describe the bug 新建vue 组件库物料项目安装后报如下错误 DeprecationWarning: Default PostCSS plugins are deprecated. When switching to '@storybook/addon-postcss', you will need to add your own plugins, such as 'postcss-flexbugs-fixes' and 'autoprefixer'.
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-default-postcss-plugins for details. (Use node --trace-deprecation ... to show where the warning was created) 0% compilingERR! TypeError: Cannot read properties of undefined (reading 'get')
node --trace-deprecation ...
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
可参考 此方案 解决,或重新创建物料项目(项目模板)已更新。
Describe the bug 新建vue 组件库物料项目安装后报如下错误 DeprecationWarning: Default PostCSS plugins are deprecated. When switching to '@storybook/addon-postcss', you will need to add your own plugins, such as 'postcss-flexbugs-fixes' and 'autoprefixer'.
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-default-postcss-plugins for details. (Use
node --trace-deprecation ...
to show where the warning was created) 0% compilingERR! TypeError: Cannot read properties of undefined (reading 'get')To Reproduce Steps to reproduce the behavior:
Expected behavior![image](https://user-images.githubusercontent.com/43030980/175478236-e4ed990c-da78-419e-ba54-164546030095.png)
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):