3

I am trying to run an update of an old Sencha Touch app using Sencha CMD, however when I try to run it from the App folder (which I assume is right due to it having all the requirements) I am getting an error returned:

"[ERR] Command must be run from an app folder"

Here's the contents of the folder where I am executing the command:

folder screenshot

jroy
  • 51
  • 1
  • 4
  • This is also not allowing me to build from here either – jroy Mar 29 '16 at 21:39
  • Can you post your App touch version, Cmd version and also if you can build the App or use any other sencha commands there? – pagep Mar 30 '16 at 16:33
  • look at this http://stackoverflow.com/questions/26099278/how-to-upgrade-sencha-touch-from-2-0-1-1-to-2-4/26101538#26101538 – Anand Gupta Apr 05 '16 at 13:15
  • Where is your ".sencha" folder? Why do you have "Views" in the root and not inside "app/views"? Why is "App" written with capital A? Where is your "app.json" file and the "boostrap.js" and "bootstrap.json". – Dinkheller Apr 06 '16 at 09:28

2 Answers2

2

"[ERR] Command must be run from an app folder"

This error means that .sencha folder is missing in directory, So check properly and add it.

Mohit Saxena
  • 1,439
  • 1
  • 12
  • 21
0

you're not in the sencha app project folder inside. you need to run that command inside the sencha app folder.