Closed H4Mm3r closed 1 year ago
Seems that replacing the whole content of config/packages/webpack_encore.yaml
with
webpack_encore: output_path: '%kernel.project_dir%/public/build' builds: bootstrapTheme: '%kernel.project_dir%/public/bootstrap-theme'
is fixing the behaviour, but compilation fails :
Error: Node Sass version 7.0.1 is incompatible with ^4.0.0.
Fixed using sass instead of node-sass :
yarn remove node-sass yarn add sass
Is it a solution ?
Hello,
On a fresh Sulius 1.11.7 install :
I'm following the doc https://docs.sylius.com/en/latest/book/themes/bootstrap-theme.html mentioned on this repo's main page and after the
composer require sylius/bootstrap-theme
and the edit ofconfig/packages/_sylius.yaml
, a refresh gives an error :An exception has been thrown during the rendering of a template ("Asset manifest file "/opt/sylius/dev/public/build/manifest.json" does not exist. Did you forget to build the assets with npm or yarn?").
Tried yarn build, next steps of the doc, nothing helped.
Thanks by advance.