Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sencha build due to sass target

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.

like image 304
jim Avatar asked Jul 06 '15 15:07

jim


Video Answer


1 Answers

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
like image 141
Matt Tang Avatar answered Oct 11 '22 09:10

Matt Tang