Closed nileshgulia1 closed 1 year ago
@nileshgulia1 Can you share the full stack trace for the error so that it's possible to see where the error is happening?
postcss-less is a dependency of @plone/volto, so it's not immediately obvious what is going wrong.
In https://github.com/plone/volto/blob/master/docs/source/upgrade-guide/index.md#upgraded-to-razzle-4 says:
You should also do a final step, and change the babel.config.js, removing the preset from razzle/babel to razzle
But @plone/generator-volto
uses razzle/babel
:
Shouldn't he be razzle
?
This is fixed locally.
Describe the bug The error originates after upgrading my volto addon to run stylelint from volto-addon-ci after I run the upgrade steps in https://github.com/plone/volto/blob/master/docs/source/upgrade-guide/index.md#upgraded-to-razzle-4
Expected behavior The command should run successfully.