Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when reading JSON file #26

Open
acespace90 opened this issue Nov 27, 2017 · 2 comments
Open

Error when reading JSON file #26

acespace90 opened this issue Nov 27, 2017 · 2 comments

Comments

@acespace90
Copy link

acespace90 commented Nov 27, 2017

Hi, i'm getting this error when i try to compile my SCSS file

Error: Invalid CSS after "{": expected 1 selector or at-rule, was "{" on line 1 of path/to/folder/example.json {

Can anybody help me?

@Josh68
Copy link

Josh68 commented Feb 21, 2018

Same here, but I'm using the node-sass variant of this tool: https://www.npmjs.com/package/node-sass-json-importer. Turned out I was piping some SASS through a JSON loader, using another loader for CSS to JSON. Be sure you aren't doing that anywhere.

@awacode21
Copy link

Dear @Josh68,

i guess i have the same problem with node-sass-json-importer since i updated it to the latest version. I don't understand how you fixed this, can you explain?

Thanks, regards, Annick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants