OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums OroCommerce Module build failed (from ../vendor/oro/platform/build/node_modules/mini-css-ext

This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 1 month, 1 week ago.

  • Creator
    Topic
  • #41074

    asmaa.tahoon25
    Participant

    After I upgrade from 3.1.0-beta to 3.1.15, assets could not be loaded
    when I run

    I get that error

    ERROR in ./css/mawared/styles.css.scss
    Module 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/dist/cjs.js):

    @import “./../../../bundles/mawaredtheme/themes/mawared/scss/admin”;
    ^
    File to import not found or unreadable: ./../../../bundles/mawaredtheme/themes/mawared/scss/admin.
    in /media/asmaa/26f891b3-37fe-4306-a681-3aefaeddc61b/mowarrid/MowarridOro/public/css/mawared/styles.css.scss (line 1, column 1)
    at /media/asmaa/26f891b3-37fe-4306-a681-3aefaeddc61b/mowarrid/MowarridOro/vendor/oro/platform/build/node_modules/webpack/lib/NormalModule.js:316:20
    at /media/asmaa/26f891b3-37fe-4306-a681-3aefaeddc61b/mowarrid/MowarridOro/vendor/oro/platform/build/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /media/asmaa/26f891b3-37fe-4306-a681-3aefaeddc61b/mowarrid/MowarridOro/vendor/oro/platform/build/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at context.callback (/media/asmaa/26f891b3-37fe-4306-a681-3aefaeddc61b/mowarrid/MowarridOro/vendor/oro/platform/build/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at Object.callback (/media/asmaa/26f891b3-37fe-4306-a681-3aefaeddc61b/mowarrid/MowarridOro/vendor/oro/platform/build/node_modules/sass-loader/dist/index.js:89:7)
    at Object.done [as callback] (/media/asmaa/26f891b3-37fe-4306-a681-3aefaeddc61b/mowarrid/MowarridOro/vendor/oro/platform/build/node_modules/neo-async/async.js:8067:18)
    at options.error (/media/asmaa/26f891b3-37fe-4306-a681-3aefaeddc61b/mowarrid/MowarridOro/vendor/oro/platform/build/node_modules/node-sass/lib/index.js:294:32)
    @ ./css/mawared/styles.js 1:0-27

    could you please advise me?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #41091
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    Usually, the above error appears when you have not installed assets to the public folder correctly.
    Please rerun “composer install” and “oro:assets:install” commands.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No