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

Missing '}' In an Undefined Area #2105

Closed
ColeyG opened this issue Oct 4, 2023 · 1 comment
Closed

Missing '}' In an Undefined Area #2105

ColeyG opened this issue Oct 4, 2023 · 1 comment

Comments

@ColeyG
Copy link

ColeyG commented Oct 4, 2023

Running a build gives the following:

Error: undefined:1:88: missing '}'
    at error (/var/www/lhsc/web/themes/custom/de_theme/node_modules/css/lib/parse/index.js:62:15)
    at declarations (/var/www/lhsc/web/themes/custom/de_theme/node_modules/css/lib/parse/index.js:259:26)
    at rule (/var/www/lhsc/web/themes/custom/de_theme/node_modules/css/lib/parse/index.js:560:21)
    at rules (/var/www/lhsc/web/themes/custom/de_theme/node_modules/css/lib/parse/index.js:117:70)
    at stylesheet (/var/www/lhsc/web/themes/custom/de_theme/node_modules/css/lib/parse/index.js:81:21)
    at module.exports (/var/www/lhsc/web/themes/custom/de_theme/node_modules/css/lib/parse/index.js:564:20)
    at rework (/var/www/lhsc/web/themes/custom/de_theme/node_modules/rework/index.js:27:21)
    at prependUrls (/var/www/lhsc/web/themes/custom/de_theme/node_modules/gulp-css-url-adjuster/index.js:12:12)
    at Transform._transform (/var/www/lhsc/web/themes/custom/de_theme/node_modules/gulp-css-url-adjuster/index.js:47:15)
    at Transform._read (/var/www/lhsc/web/themes/custom/de_theme/node_modules/gulp-css-url-adjuster/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)

There are no files that have mismatched curly brackets in my project, I've written a script to check. How might I get a more accurate message from sass other than undefined:1:88?

@nex3
Copy link
Contributor

nex3 commented Oct 4, 2023

This looks like an error that's coming from node_modules/css, not from Sass.

@nex3 nex3 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2023
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

2 participants