-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
node_modules does not seem to be an included path for Sass in CRA 2.0 #4651
Comments
Does: |
It only works for the application, not the libraries. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. |
For anyone stumbling across this from a Google search, this helped me: |
I am not sure if this is a bug, or a feature. Apparently,
node_modules/
directory is not an included path for Sass in CRA 2.0.As instructed in #2859,
node_modules/
prefix should be used when importing sass files from libraries. Including this prefix is not conventional in sass projects.But then, even when using that prefix, libraries that import sass files other libraries will cause the
File to import not found or unreadable
error.As an example, using
@material/react-top-app-bar
:gives the error:
The text was updated successfully, but these errors were encountered: