Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Webpack and Sass-loader #142

Open
shalawfatah opened this issue Oct 19, 2019 · 1 comment
Open

Problem with Webpack and Sass-loader #142

shalawfatah opened this issue Oct 19, 2019 · 1 comment

Comments

@shalawfatah
Copy link

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.

@codabat
Copy link

codabat commented Jun 12, 2020

Hi,
I don't know if you solved it. If not, can you post the app.js code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants