Sencha build due to sass target

孤者浪人 提交于 2019-12-10 13:24:34

问题


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.


回答1:


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.

  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


来源:https://stackoverflow.com/questions/31249409/sencha-build-due-to-sass-target

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!