This topic contains 4 replies, has 2 voices, and was last updated by peeush 4 years, 3 months ago.
- Topic
Hi
I am trying out the latest version 4.1.0-rc3 build, which installs fine (although the images on slider are throwing 404). When I try to install my custom theme, which works fine on v 3.1.x (as well as 4.1.0-rc1), now is failing at asset build steps with the following error:
1234567891011121314151617181920212223242526272829303132333435ERROR in ./layout-build/tbazui/css/layout/tbazui/styles.css.scssModule build failed (from ../vendor/oro/platform/build/node_modules/mini-css-extract-plugin/dist/loader.js):ModuleBuildError: Module build failed (from ../vendor/oro/platform/build/node_modules/sass-loader/lib/loader.js):@import "./../../../bundles/oroui/blank/scss/settings/global-settings";^File to import not found or unreadable: ./../../../bundles/oroui/blank/scss/settings/global-settings.in /usr/share/nginx/html/oroapp/public/layout-build/tbazui/css/layout/tbazui/styles.css.scss (line 1, column 1)at /usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/webpack/lib/NormalModule.js:316:20at /usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/loader-runner/lib/LoaderRunner.js:367:11at /usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/loader-runner/lib/LoaderRunner.js:233:18at context.callback (/usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/loader-runner/lib/LoaderRunner.js:111:13)at Object.callback (/usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/sass-loader/lib/loader.js:52:13)at Object.done [as callback] (/usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/neo-async/async.js:8067:18)at options.error (/usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/node-sass/lib/index.js:294:32)@ ./layout-build/tbazui/css/layout/tbazui/styles.scss.js 1:0-27ERROR in ./layout-build/tbazui/css/layout/tbazui/lib.css.scssModule build failed (from ../vendor/oro/platform/build/node_modules/mini-css-extract-plugin/dist/loader.js):ModuleBuildError: Module build failed (from ../vendor/oro/platform/build/node_modules/sass-loader/lib/loader.js):@import "./../../../bundles/tbazui/scss/magnific-popup";^File to import not found or unreadable: ./../../../bundles/tbazui/scss/magnific-popup.in /usr/share/nginx/html/oroapp/public/layout-build/tbazui/css/layout/tbazui/lib.css.scss (line 1, column 1)at /usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/webpack/lib/NormalModule.js:316:20at /usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/loader-runner/lib/LoaderRunner.js:367:11at /usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/loader-runner/lib/LoaderRunner.js:233:18at context.callback (/usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/loader-runner/lib/LoaderRunner.js:111:13)at Object.callback (/usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/sass-loader/lib/loader.js:52:13)at Object.done [as callback] (/usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/neo-async/async.js:8067:18)at options.error (/usr/share/nginx/html/oroapp/vendor/oro/platform/build/node_modules/node-sass/lib/index.js:294:32)@ ./layout-build/tbazui/css/layout/tbazui/lib.scss.js 1:0-24ChildTime: 273121msI tried reinstalling node modules and building assets, but I get the same error. Equally, I searched the latest documentation (4.1-beta) and all I could find different for custom themes is that requireJS configuration is replaced with JSmodules now (I made the changes and removed the bin/console oro:requirejs:build step), but these build errors are only for CSS.
Please advise.
The forum ‘OroCommerce’ is closed to new topics and replies.