1
votes

I have an app and many package that required with app, and I will create a view with

sencha gen view viewname

in package, but raise following error :

[ERR] Please ensure this command was executed from a valid application directory

[ERR] Unable to locate 'app.dir' config property from sencha.cfg

please help me how to resolve this problem.

1
The minimal information we would need would be the directory in which you execute the "gen view" command. - Alexander
i run "sencha gen view" in package folder - mrlayeghi

1 Answers

0
votes

According to the documentation that is not possible:

sencha generate view

This command generates a new View class and adds it to the current application.