You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to compile.
./src/styles/index.scss (./node_modules/css-loader??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/lib/loader.js??ref--6-oneOf-5-3!./src/styles/index.scss)
@import "bootstrap/scss/bootstrap";
^
File to import not found or unreadable: bootstrap/scss/bootstrap.
Hi @frederikhors, it looks like you haven't completed the issue template, which makes this very hard to resolve. If you can please supply the requested information, we can take a look at this for you.
Activity
mrmckeb commentedon Feb 1, 2019
Hi @frederikhors, it looks like you haven't completed the issue template, which makes this very hard to resolve. If you can please supply the requested information, we can take a look at this for you.
a2k42 commentedon Feb 6, 2019
From the documentation for material-components it looks like the
.enventry needs to be:SASS_PATH=./node_modulesIf this works for you then it's probably just a correction to the documentation that's needed.
I had the same problem and it's fixed for me now.
a2k42 commentedon Feb 21, 2019
One quick follow on thought I had about this was that I'm not sure if my solution is cross platform.
Was this the intent behind the original method?
SASS_PATH=node_modules:srcAs it happens, I am on Windows but use the linux syntax with Git Bash set as my IDE shell. hth
vimalraj9423 commentedon Mar 13, 2019
I HAVE SAME PROBLEM. ANY SUGGESTION PLEASE...
sandhilt commentedon Mar 13, 2019
SASS_PATH=node_modulesworks for me.frederikhors commentedon Mar 13, 2019
On Windows you have to use
./node_modules.iansu commentedon Mar 14, 2019
We should probably mention that in the docs. Would you like to submit a PR?
SamMade commentedon Mar 21, 2019
also @iansu can you include in the documentation that you need a semicolon instead of a colon on windows environments
https://technology.customink.com/blog/2014/10/09/understanding-and-using-sass-load-paths/#where-sass-is-headed
Fix for react#6322
monish001 commentedon Mar 24, 2019
Just created a PR with the fix in the documentation. Please review.