7

I am trying to build a Sencha app but I am getting the following errors:

[ERR] The following error occurred while executing this line: /Users/conor/Repositories/POS/pos/.sencha/app/build-impl.xml:286:

The following error occurred while executing this line: /Users/conor/Repositories/POS/pos/.sencha/app/sass-impl.xml:280:

The following error occurred while executing this line: /Users/conor/Repositories/POS/pos/.sencha/app/sass-impl.xml:286:

Problem: failed to create task or type x-compass-compile Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any / declarations have taken place.

I looked into the Ant scripts and it appears that the issue is around the SASS process using Compass.

I can confirm that Compass v1.0.3 is installed.

After that, I am not a Sencha expert so am stuck. How can I fix this issue please?

Thank you.

4
  • Hi. While I did have this error, it turns out sencha was compiling my app successfully. I just needed to check the correct output folder and my application was there.
    – jim
    Jul 13, 2015 at 9:37
  • I am seeing this same error. I am also new to Sencha and extjs. I'm on Mac OS X 10.10.4, Sencha Cmd 6.0.0.202, Ruby 2.0.0.p481 Jul 14, 2015 at 20:25
  • @conor did u solve this issue
    – Ben10
    Aug 10, 2015 at 10:18
  • No, I just ignored the error as my application was successfully built prior to the error showing.
    – jim
    Aug 10, 2015 at 10:40

1 Answer 1

10

I ran into this error too. I had just upgraded to Sencha CMD 6.0.2.14. Download page

It looks like you're using Sencha Touch and it's probably 2.x. There's a component called "Compass extension" in the installer that needs to be checked.

See screenshot

  1. If you didn't install the ruby, Install the ruby2.X. Ruby is required to build the sencha application and set 'ruby' to your system path variable. eg: check your ruby version with ruby -v
3
  • 2
    To clarify the comments above: When installing Sencha Cmd, you need to tell the installer to install the "Compass Extension". This is generally done by checking the checkbox next to "Compass Extension".
    – StvnBrkdll
    Mar 24, 2016 at 18:31
  • how to install it in Linux env without GUI ?
    – v7r
    Apr 20, 2023 at 2:38
  • Found it here - stackoverflow.com/questions/39227994/…
    – v7r
    Apr 20, 2023 at 3:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.