question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot import sass file from meteor package

See original GitHub issue

Description

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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
marvin-bitterlichcommented, Feb 5, 2017

whatevs @NitroBAY

1reaction
marvin-bitterlichcommented, Dec 31, 2016

Oddly enough applying your fix and then importing @import "{tomscholz:materialize}/sass/materialize.scss"; works perfectly fine! Thanks a lot @tomscholz

Weird that there were no errors compiling it, that were shown…

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found