Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

File to import not found or unreadable: @material/animation/functions #4003

Closed
iddan opened this issue Oct 27, 2018 · 4 comments
Closed

File to import not found or unreadable: @material/animation/functions #4003

iddan opened this issue Oct 27, 2018 · 4 comments

Comments

@iddan
Copy link

iddan commented Oct 27, 2018

Bugs

What MDC Web Version are you using?

0.40.0

What browser(s) is this bug affecting?

Any

What OS are you using?

macOS Mojave

What are the steps to reproduce the bug?

Try to compile SASS importing from @material/animation (e.g. mdc-dialog)

What is the expected behavior?

To compile.

What is the actual behavior?

Missing module

Any other information you believe would be useful?

The names of the files are prefixed with an underscore even though documented they shouldn't

@iddan iddan changed the title @material/animation/functions File to import not found or unreadable: @material/animation/functions. Oct 27, 2018
@iddan iddan changed the title File to import not found or unreadable: @material/animation/functions. File to import not found or unreadable: @material/animation/functions Oct 27, 2018
@iddan
Copy link
Author

iddan commented Oct 27, 2018

Found an issue #351, it's closed

@iddan iddan closed this as completed Oct 27, 2018
@iddan iddan reopened this Oct 27, 2018
@kfranqueiro
Copy link
Contributor

Are you configuring Sass' include paths? This is documented in the context of webpack in the main README and getting started guide.

If you're using node-sass from the command line, the command-line flag is --include-path. If you're using dart-sass, it's --load-path.

@iddan
Copy link
Author

iddan commented Oct 30, 2018

Unfortunately I can't set --include-path as I'm using CRA 2.

@kfranqueiro
Copy link
Contributor

In that case, this is already tracked in #3985 (and also material-components/material-components-web-react#326). Someone posted a react-scripts fork in #3985 which changes the configuration to include includePaths.

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

No branches or pull requests

2 participants