Invalid CSS after "e"
See original GitHub issueWhat 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:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top 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 >
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 Free
Top 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
Could you please point out what was the solution?
My mistake, got it to work