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.

Community
  • 1
  • 1
jim
  • 8,670
  • 15
  • 78
  • 149
  • 1
    I have the same problem. Did you find any solution for this? – Oleks Jul 13 '15 at 09:27
  • 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 '15 at 09: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 – Missaka Wijekoon Jul 14 '15 at 20:25
  • @conor did u solve this issue – Ben10 Aug 10 '15 at 10:18
  • No, I just ignored the error as my application was successfully built prior to the error showing. – jim Aug 10 '15 at 10:40

1 Answers1

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
Frank van Wijk
  • 3,234
  • 20
  • 41
Matt Tang
  • 1,297
  • 11
  • 17
  • 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 '16 at 18:31
  • how to install it in Linux env without GUI ? – v7r Apr 20 '23 at 02:38
  • Found it here - https://stackoverflow.com/questions/39227994/senchacmd-silent-install-with-compass-extension-component – v7r Apr 20 '23 at 03:04