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.

Error importing scss instead of css

See original GitHub issue

Hello,

I try to use the example given by moog16 here (issue #557 ) But I have this error :

@import "@material/drawer/mdc-drawer";
^
      File to import not found or unreadable: @material/drawer/mdc-drawer.
      in /Users/john/Desktop/app/node_modules/@material/react-drawer/index.scss (line 23, column 1)

Using CSS instead works fine

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
ZeJ0hncommented, Feb 9, 2019

It works !

Thank you for your time 😃

0reactions
moog16commented, Feb 9, 2019

you will need to quit/restart your terminal window for the env variables to work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack throwing error on SCSS @import SCSS
I managed to reproduce the error and it seems to come from: include: [ path.resolve(__dirname, 'styles') ],. The path is the issue cause...
Read more >
Sass: @import
Sass extends CSS's @import rule with the ability to import Sass and CSS stylesheets, providing access to mixins, functions, and variables and combining ......
Read more >
Error on importing scss files. | React - EJ 2 Forums - Syncfusion
I am evaluating the components now. I initially imported the css files related to syncfusion grid and it was working, but when I...
Read more >
sass-loader - webpack - JS.ORG
Webpack needs to distinguish between bootstrap and ~bootstrap because CSS and Sass files have no special syntax for importing relative files.
Read more >
Error when importing scss file - Get Help - Vue Forum
Syntax Error: SassError: expected “;” ... I want variables.scss to be recognized and used in a folder root (assets/scss) other than the ...
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