Cannot import sass file from meteor package
See original GitHub issueDescription
Add a detailed description of your issue.
I am trying to import the materialize.scss file in meteor and the file can not be found.
Repro Steps
Layout the steps to reproduce your issue.
meteor add materialize:materialize
@import "{materialize:materialize}/sass/materialize.scss";
Error:
While processing files with fourseven:scss (for target web.browser):
/client/main.scss: Scss compiler error: File to import:
{materialize:materialize}/sass/materialize.scss not found in file:
...{}/client/main.scss
I tried searching in the repo but there is no documentation on what path to use to import it…
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Sass in local package from node_modules - Meteor forums
In package.js I add my scss file like this: api.addFiles('lib/stylesheets/main.scss', 'client'); It gets processed by fourseven:scss.
Read more >Can't import .scss files with meteor test · Issue #9562 - GitHub
I'm running Meteor 1.6.0.1, and fourseven:scss to use SCSS files in my app. I can now import .scss files directly in my React...
Read more >sass - Meteor fourseven:scss throws "file to import not found or ...
I am using the meteoric package and I keep getting this error. ... The error is known to disappear when the meteor server...
Read more >fourseven:scss - Packosphere
Sass for Meteor. This is a Sass build plugin for Meteor. It compiles Sass files with node-sass and it has options to control...
Read more >meteor-scss - Bountysource
Fourseven plugin breaks TSX import (and probably jsx too) if scss file with same base name exists in importing file's directory. Folder structure:...
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
whatevs @NitroBAY
Oddly enough applying your fix and then importing
@import "{tomscholz:materialize}/sass/materialize.scss";
works perfectly fine! Thanks a lot @tomscholzWeird that there were no errors compiling it, that were shown…