Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7068305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:18:27+00:00 2026-05-28T05:18:27+00:00

I am trying to compile changes done to .scss files for ext js 4.

  • 0

I am trying to compile changes done to .scss files for ext js 4. When I compile the file compass outputs.

Syntax error: Functions may only be defined at the root of a document.
        on line 115 of G:/Ruby/bin/resources/themes/stylesheets/ext4/default/mixins/_frame.scss
        from line 4 of G:/Ruby/bin/resources/themes/stylesheets/ext4/default/_mixins.scss
        from line 9 of G:/Ruby/bin/resources/themes/stylesheets/ext4/default/_all.scss
        from line 118 of G:/Ruby/bin/resources/sass/ext-all-gray.scss

Backtrace:
G:/Ruby/bin/resources/themes/stylesheets/ext4/default/mixins/_frame.scss:115
G:/Ruby/bin/resources/themes/stylesheets/ext4/default/_mixins.scss:4
G:/Ruby/bin/resources/themes/stylesheets/ext4/default/_all.scss:9
G:/Ruby/bin/resources/sass/ext-all-gray.scss:118
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:12:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `map'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:26:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:39:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:14:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `map'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:26:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:39:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:14:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `map'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:26:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:37:in `block in visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:70:in `visit_if'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:37:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:14:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `map'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:26:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:39:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:14:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `map'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:26:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:37:in `block in visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:33:in `visit_root'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:37:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/check_nesting.rb:14:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:24:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:143:in `visit_import'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:37:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:18:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:144:in `block in visit_import'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:144:in `map'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:144:in `visit_import'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:37:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:18:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:144:in `block in visit_import'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:144:in `map'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:144:in `visit_import'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:37:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:18:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `map'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:53:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:27:in `block in visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:39:in `with_environment'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:26:in `visit_children'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:37:in `block in visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:47:in `visit_root'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/base.rb:37:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:18:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/visitors/perform.rb:7:in `visit'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/tree/root_node.rb:20:in `render'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/engine.rb:300:in `_render'
G:/Ruby/lib/ruby/gems/1.9.1/gems/sass-3.1.10/lib/sass/engine.rb:247:in `render'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/compiler.rb:130:in `block (2 levels) in compile'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/compiler.rb:116:in `timed'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/compiler.rb:129:in `block in compile'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/logger.rb:45:in `red'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/compiler.rb:128:in `compile'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/compiler.rb:108:in `compile_if_required'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/compiler.rb:95:in `block (2 levels) in run'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/compiler.rb:93:in `each'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/compiler.rb:93:in `block in run'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/compiler.rb:116:in `timed'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/compiler.rb:92:in `run'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/commands/update_project.rb:36:in `perform'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/commands/base.rb:18:in `execute'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/commands/project_base.rb:19:in `execute'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/lib/compass/exec/sub_command_ui.rb:15:in `run!'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/bin/compass:25:in `block in <top (required)>'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/bin/compass:39:in `call'
G:/Ruby/lib/ruby/gems/1.9.1/gems/compass-0.11.1/bin/compass:39:in `<top (required)>'
G:/Ruby/bin/compass:19:in `load'
G:/Ruby/bin/compass:19:in `<main>'

body:before {
  white-space: pre;
  font-family: monospace;
  content: "Syntax error: Functions may only be defined at the root of a document.\A         on line 115 of G:/Ruby/bin/resources/themes/stylesheets/ext4/default/mixins/_frame.scss\A         from line 4 of G:/Ruby/bin/resources/themes/stylesheets/ext4/default/_mixins.scss\A         from line 9 of G:/Ruby/bin/resources/themes/stylesheets/ext4/default/_all.scss\A         from line 118 of G:/Ruby/bin/resources/sass/ext-all-gray.scss"; }

I’ve been scouring the internet for help and hints an all I’ve found was to use sass version 3.1.1. I’ve tried that and there was no change.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:18:28+00:00Added an answer on May 28, 2026 at 5:18 am

    Basically it means that your code or some third-party code you are using defines functions within a scope instead of at the root level. You can get this accidentally if you do an @import within a scope of a file which includes function definitions. What you normally need to do in this situation is do the @import at the root level and @include the mixins or insert calls to the functions in the relevant scope.

    It is possible to downgrade SASS to fix this but long-term this is a feature that will not be supported by SASS if I understand correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to compile a iPhone/iPad application with SDK3.2 and am getting this error: Undefined
When trying to compile a file that include winnt.h via windows.h, I get the
When trying to compile my class I get an error: The constant 'NamespaceName.ClassName.CONST_NAME' cannot
When trying to compile GNU software on HP-UX (binutils for example) I'm getting error
I'm trying to compile a set of .c files from an open source project
While trying to compile a 64 bit linux kernel using gcc, I see the
When trying to compile the following code, I am getting a warning that line
While trying to compile my project, that uses some third party headers, with mingw
I'm trying to compile a Delphi 7 project that I've inherited, and I'm getting
I'm trying to compile/link a very old piece of software on a linux system

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.