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.

Invalid CSS after "e"

See original GitHub issue

What am I doing wrong?

ERROR in ./~/css-loader!./~/sass-loader!./client/index.scss
Module build failed:
/* index.scss */
^
      Invalid CSS after "e": expected 1 selector or at-rule, was "exports = module.ex"
      in /Users/puppeteer/Documents/GitHub/kick-ass-cv/client/index.scss (line 1, column 1)
 @ ./client/index.js 1:0-46
 @ multi ./build/dev-client ./client/index.js

index.scss

/* index.scss */
.app-content{
  &__info {
    background: red;
  }
}

index.js

require('sass-loader!./index.scss')

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

57reactions
GoranGjorgievskicommented, Jun 26, 2017

Could you please point out what was the solution?

43reactions
puppeteer701commented, Apr 29, 2017

My mistake, got it to work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid CSS after " ": expected 1 selector or at-rule, was "{"
I am trying out Vue with SASS but I run into a problem ben using npm run build. I use webpack sass-loader. Can...
Read more >
Invalid CSS after "...load the styles": expected 1 selector or at ...
In my case, I found out that this error happened because of several rules with test '.scss' was applied. Maybe your webpack.base.conf is...
Read more >
invalid - CSS: Cascading Style Sheets - MDN Web Docs
The :invalid CSS pseudo-class represents any , , or other element whose contents fail to validate.
Read more >
Error: Invalid CSS after (node-sass) - BigCommerce Support
error editing/preview theme locally using Stencil CLI - Error: Invalid CSS after (node-sass). Hi,. I've installed a theme "roots theme" and ...
Read more >
Sass::SyntaxError: Invalid CSS after "": expected selector or at ...
This might happen when css file url is wrong, Try to check that if /web/guest/portlet.css is available from browser.
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