PDA

View Full Version : [CLOSED] Sencha CMD 3.0.0.230 - No such property: 'create'



pentool
29 Oct 2012, 11:40 AM
I'm looking at the 2.1.0-rc2 documentation (http://localhost/sencha-touch-2.1.0-rc2/docs/#!/guide/command_app)

Under Guides > Writing Applications > Using Sencha Cmd with Sencha Touch. The guide makes references to the command "sencha app create" under the heading "Create a New Application".

I keep getting the following error: "No such property: 'create'".

Sencha command seems to be installed correctly. Listing "sencha" at the command prompt does not show any property "create" either. I assume the docs are not up-to-date.

Sencha Cmd 3.0.0.230
Windows 7 x64

mitchellsimoens
29 Oct 2012, 1:11 PM
That is for the old Sencha Command. The new command for Sencha Cmd is:

sencha generate app MyAppName /path/to/MyAppName

pentool
29 Oct 2012, 1:30 PM
In which case the old sencha command is listed in the new doc.

arnoldc
26 Nov 2012, 1:11 PM
The doc needs to be updated. Bad experience for first timer.

Touch 2.1 Docs>Writing Applications>Using Sencha Cmd for Sencha Touch>Creating a New Application.

fmrc
31 Jan 2013, 9:40 AM
Absolutely agree. It's cumbersome having to look for the right code months after the upgrade took place.

jkristia
8 Feb 2013, 4:20 PM
I agree, please update the documentation.

I am completely new to Sencha, never looked at it until today, and it has been a frustrating day. What is the point in having a 'getting started with Ext jS4' if you cannot follow the example step by step.

fariazz
19 Feb 2013, 11:03 AM
The getting started guide has the old command: http://www.sencha.com/learn/getting-started-with-sencha-touch-2/

riyaad
20 Feb 2013, 2:16 AM
This command sencha generate app MyApp ../../MyApp
Will overwrite ../../myapp directory ....is this a bug?

riyaad
20 Feb 2013, 2:17 AM
Agreed :D regarding updating docs

mitchellsimoens
20 Feb 2013, 7:15 AM
This command sencha generate app MyApp ../../MyApp
Will overwrite ../../myapp directory ....is this a bug?

No, its up to your OS whether it allows directories with case-sensitive or not

msdf_grant
20 Feb 2013, 9:34 AM
The old "sencha app create" command is still not updated at http://www.sencha.com/learn/getting-started-with-sencha-touch-2/. Also, all of the screen shots are missing. Not the best experience for somebody evaluating the Sencha Touch platform ...

nixta
21 Feb 2013, 3:12 PM
Yes, but update the documentation. This page (http://docs.sencha.com/touch/2-1/#!/guide/getting_started) is just wrong.