Skip to content

Problem with Webpack and Sass-loader #142

Description

@shalawfatah

Hello,
I try to embed some scss files with my app, but I have a problem and it appears when I try to load in sass-loader and style-loader, css-loader, not sure what it is. But here is the error:
ERROR in ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/styles/styles.scss
Module build failed: TypeError: this.getResolve is not a function
at Object.loader (C:\Users\Shalaw\Desktop\react-course\indecision-app\node_modules\sass-loader\dist\index.js:52:26)
@ ./src/styles/styles.scss 1:14-125
@ ./src/app.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src/app.js
webpack: Failed to compile.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions