It's not clear which file to import for '@import "overlay/overlay"
See original GitHub issueWhen I create theme file, the sass throw a error like below:
node_modules/@angular/material/core/_core.scss Error: It's not clear which file to import for '@import "overlay/overlay"
I try to modify the import file in the _core.scss, and it’s works.
@import ‘overlay/overlay.scss’;
I think maybe could change the file name of ‘overlay.scss’ to ‘_overlay.scss’
The material and sass version:
“@angular/material”: “^2.0.0-alpha.9”, “gulp-sass”: “^2.3.1”,
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:9 (1 by maintainers)
Top Results From Across the Web
It's not clear which file to import for '@import - Stack Overflow
This was pretty easy. Error message simply indicated it could not find the scss file path. @import '../../variables.scss';.
Read more >Error: It's not clear which file to import for '@import "assets ...
I'm new to sass/npm/gulp. As a quick test, I edited src/sass/bootstrap4/bootstrap.scss but it did not trigger gulp watch and no new css files...
Read more >Overlay Errors while Importing Overlay objects - Discussion
Since I am facing this issue, I tried deleting the overlay form from the developer studio and tried importing the overlay and overlaid....
Read more >OBS Studio - Super Charge! Overlays Quick Import
Navigate to your extracted “Overlays” folder and the “~OBS Studio – Quick Install” folder. Select the Quick Import “. lua” file and click...
Read more >Cross-import overlays - Pitches - Swift Forums
Cross-import overlays allow Swift to automatically import additional “overlay” modules based on the combination of imports in a particular ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
core/overlay folder has two files overlay.scss and overlay.css(Empty file). Deleting overlay.css fixed this issue for me.
@spock123 I got the same error, if I understand correctly, @oustn is not trying to import overlay directly, but by importing ~@angular/material/core/theming/all-theme’, that sass file is importing core.scss which is importing overlay and that is where the error is from. I just went into the core.scss and changed the import to overlay.scss to force the extension for now.