How to build production application using sencha cmdv3 - extjs

Can anybody tell me how to build a production application using sencha cmdv3.
I have tried using
C:\Users\Test\bin\Sencha\Cmd\3.0.0.250>sencha create jsb -a D:\Test
VSSProject\app1\index.html -p Test.jsb3
And I'm getting no such property error.
I also tried:
C:\Users\Test\bin\Sencha\Cmd\3.0.0.250>sencha app build
And I get the error:
Please ensure this command was executed from a valid application
C:\Users\Test\bin\Sencha\Cmd\3.0.0.250>sencha -sdk D:\sencha-touch\
ext-4.1.1a app build production D:\Test
Thanks

Related

Unable to run default ABP project

I've followed the instructions and created a new solution using command
abp new Acme.BookStore -u blazor-server --tiered --preview
When I try and run the solution i get an error:
AbpException: Could not find the bundle file '/libs/bootstrap/css/bootstrap.css' for the bundle 'Blazor.LeptonXLiteTheme.Global'!
I've tried running abp install-libs but still doesn't work. Any ideas?

ExtJS - Unable to locate supported Framework

Downloaded Ext JS Enterprise* Edition for MacOS Catalina. Unzipped the file and executed the SenchaCmd-7.2.0.66-osx.app which installed the CMD tool.
The instructions to generate the application documented here states the following:
Generate the application using the following command:
sencha -sdk /path/to/downloaded/sdk generate app modern MyApp ./MyApp
what is the /path/to/downloaded/sdk?
Tried several different paths but always get the following error:
Unable to locate 'framework.dir' property from sencha.cfg and no framework directory specified
[ERR] Please ensure this command was executed from a valid framework directory
[ERR] No Framework specified.
Please help!
could not get the zip download and CMD to work. Used the NPM option to download and make new app.

heroku - could not find a javascript runtime

I am getting the following error message in the heroku logs when trying to access the application from the browser:
Gem Load Error is: Could not find a
JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes.
This is being triggered by a couple of gems - ngannotate-rails and coffee-rails.
This is a rails 4.2 application with a angular.js frontend, being deployed to heroku for the first time.
Heroku stack:
$ heroku stack
=== my_app Available Stacks
heroku-16
* cedar-14
Buildpacks:
$ heroku buildpacks
=== my_app Buildpack URLs
1. https://github.com/prakashmurthy/heroku-buildpack-nodejs
2. heroku/ruby
Both the node.js build and ruby build complete successfully.
PATH seems to be set correctly:
$ heroku run bash
Running bash on ⬢ my_app... up, run.1502 (Free)
~ $ echo $PATH
/app/bin:/app/vendor/bundle/bin:/app/vendor/bundle/ruby/2.3.0/bin:/usr/local/bin:/usr/bin:/bin
Appreciate any help in figuring out this issue.

Sencha CMD Error "Did not locate framework package"

I'm new to Sencha and I just installed Sencha CMD. Following Sencha's instructions I type the following on the command line:
sencha generate app -ext MyApp ./app
But all I get is this error message:
C:\SenchaCMD\Sencha>sencha generate app -ext MyApp ./app
Sencha Cmd v5.0.1.231
[WRN] Did not locate framework package
[ERR] java.lang.NullPointerException
at com.sencha.util.PathUtil.normalizePathCharacters
...
...
at com.sencha.command.Sencha.main(Sencha.java:141)
I've searched the internet for the error message and haven't found anything.
Try below command to generate sencha app.
sencha -sdk F:/touch-2.3.0 generate app Test-app .(Dot represent current directory)
sdk is the path to your touch library.
Test-app is your app name.
I had the exact same problem.
I had installed Sencha Cmd in a non-standard folder (within C:\Program Files (x86)\). Uninstalling Sencha Cmd and reinstalling it in the default folder (C:\Users\<UserName>\bin\) made the error go away.
You need to run it with the ExtJS sdk path.
In my case, the just downloaded ExtJS sdk:
sencha -sdk "C:\Users\username\Downloads\ext-5.1.1-trial\ext-5.1.1" generate app -ext MyApp ./app
It also need administrators right if you installed it in the ProgramFile Folder.
Run your console with administator rights.
"Did not locate framework package"
You should run this command from inside of touch-2.3.1 folder.
[ERR] java.lang.NullPointerException
run java -version looks like you are missing java
...and as a linux user, the same error appears if you install sencha command via sudo. You shouldn't do that.
so just run
guy#idoru:~$ chmod +x SenchaCmd-<version>-linux-x64.run
guy#idoru:~$ ./SenchaCmd-<version>-linux-x64.run
instead of
guy#idoru:~$ sudo ./SenchaCmd-<version>-linux-x64.run

Sencha native app error st-res/templates/stbuild_template_sim.app/ does not exists

I'm trying to build a native application from sencha cmd using sencha app build native and everything seems to work fine until it gets to this part:
failed running native packager
[ERR] Source directory: st-res/templates/stbuild_template_sim.app/ does not exists
Error copying st-res/templates/stbuild_template_sim.app/ to /home/dethstar/public_html/muhapp/build/muhapp/native/muhapp.app/
Failed to package application
But I Haven't been able to find anything about these files, neither online or in the touch directories. Any idea?
I had to link st-res and stbuild into my working directory:
ln -s /opt/Sencha/Cmd/4.0.0.203/stbuild/stbuild
ln -s /opt/Sencha/Cmd/4.0.0.203/stbuild/st-res
"/opt/Sencha/Cmd/4.0.0.203/" needs to be replaced with the path to your Sencha CMD installation.

Resources