ecomplus / storefront

Modern and high performant headless eCommerce Storefront. PWA & JAMstack architecture ready for E-Com Plus APIs. Built with Vue.js, extensible through widgets and editable with Netlify CMS.
https://developers.e-com.plus/storefront/
MIT License
101 stars 36 forks source link

Error with "bootswatch": "superhero", "custom": "clean-gray" #542

Closed matheusgnreis closed 3 years ago

matheusgnreis commented 3 years ago

Describe the bug When choose "bootswatch": "superhero", "custom": "clean-gray" on settings, we receive:

[ './template/scss/styles.scss\n' + 'Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):\n' + 'ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):\n' + 'SassError: File to import not found or unreadable: @ecomplus/storefront-template/template/scss/themes/superhero/variables.\n' + ' on line 9 of template/scss/styles.scss\n' + '>> @import "@ecomplus/storefront-template/template/scss/themes/superhero/variab\n' + ' ^\n' + '\n' + ' at /home/runner/work/adirpontes/adirpontes/node_modules/webpack/lib/NormalModule.js:316:20\n' + ' at /home/runner/work/adirpontes/adirpontes/node_modules/loader-runner/lib/LoaderRunner.js:367:11\n' + ' at /home/runner/work/adirpontes/adirpontes/node_modules/loader-runner/lib/LoaderRunner.js:233:18\n' + ' at context.callback (/home/runner/work/adirpontes/adirpontes/node_modules/loader-runner/lib/LoaderRunner.js:111:13)\n' + ' at Object.callback (/home/runner/work/adirpontes/adirpontes/node_modules/sass-loader/dist/index.js:62:7)\n' + ' at Object.done [as callback] (/home/runner/work/adirpontes/adirpontes/node_modules/neo-async/async.js:8069:18)\n' + ' at options.error (/home/runner/work/adirpontes/adirpontes/node_modules/node-sass/lib/index.js:293:32)\n' + ' @ multi ./template/scss/styles.scss ./template/js/index.js storefront[0]' ]

So, all changes after that, doesn't work

leomp12 commented 3 years ago

Esse tema superhero não está no SCSS, não deveria estar no CMS tbm..

leomp12 commented 3 years ago

https://github.com/ecomplus/storefront/commit/250b6ef893c9bcc555a6bba0c603d1d39cbe1cd4