sencha-cmd

Sencha Cmd 5 + Java 8 Error

我与影子孤独终老i 提交于 2019-12-23 09:03:16
问题 After installing Java 8 JDK on my Windows build server, I'm running into the following error when executing the sencha command: C:\> sencha Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required. Error: could not find java.dll Error: Could not find Java SE Runtime Environment. The Sencha Cmd Guide implies that Java 8 isn't supported yet (however Sencha Cmd works fine on my Mac OS X workstation with Java 8): Sencha Cmd requires

Build a simple app using Sencha, not working on Android 4

◇◆丶佛笑我妖孽 提交于 2019-12-23 05:08:30
问题 I would like someone to help me verify what I've done to build a simple mobile app using Sencha Touch and Sencha Cmd. I've been trying to build an Android app for awhile and I cannot get it run on Android 4.0 emulator or phone, and no luck at all. This is what I've done. Step 1: Create a new application Sencha generate app MyTouch22 ../projects/MyTouch22 This step automatically creates all the necessary folders and files to start your app. It also generated the default Main.js (the main view)

How can I create several ExtJs apps without duplicating the Framework

狂风中的少年 提交于 2019-12-21 23:16:37
问题 I'm developing some Extjs 6 applications. I'm using Sench Cmd 6 for creating new application. For every project, It creates a new copy of my lilbrary files. I want to re use the library files rather than duplicate them. | -- library files | -- Project 1 | -- Project 2 | -- etc. How can I do it ? 回答1: You need to create first a workspace . Then any app as you want. Would be something like sencha -sdk "/Sencha/ext-6.0.0" generate workspace "/dev/workspace/" sencha -sdk "/Sencha/ext-6.0.0"

Error “User limit of inotify watches reached”. ExtReact build

感情迁移 提交于 2019-12-21 09:36:17
问题 I installed ExtReact, with examples. When I run npm start I get an error: ERROR in [@extjs/reactor-webpack-plugin]: Error: [ERR] BUILD FAILED [ERR] com.sencha.exceptions.BasicException: User limit of inotify watches reached [ERR] [ERR] Total time: 13 seconds [ERR] /home/user/project/build/ext-react/build.xml:101: com.sencha.exceptions.BasicException: User limit of inotify watches reached [ERR] A log is available in the file "/home/user/project/build/ext- react/sencha-error-20171027.log" How

Error “User limit of inotify watches reached”. ExtReact build

醉酒当歌 提交于 2019-12-21 09:36:17
问题 I installed ExtReact, with examples. When I run npm start I get an error: ERROR in [@extjs/reactor-webpack-plugin]: Error: [ERR] BUILD FAILED [ERR] com.sencha.exceptions.BasicException: User limit of inotify watches reached [ERR] [ERR] Total time: 13 seconds [ERR] /home/user/project/build/ext-react/build.xml:101: com.sencha.exceptions.BasicException: User limit of inotify watches reached [ERR] A log is available in the file "/home/user/project/build/ext- react/sencha-error-20171027.log" How

extjs 6.0 sencha cmd to compile only my javascript code

只谈情不闲聊 提交于 2019-12-20 06:40:50
问题 I use sencha extjs 6.0 ,and it always compile all extjs code to single one file .What I need is that : 1 the need extjs is compiled to one single file ,I know which packages are needed ,so it can be static and not need to change . 2 then sencha cmd compile my own javascript file to one single file ,so I can update to web server and let client download it less size file .Because the extjs file size is large than 600K with compression . Anyone have idea how to do it? 回答1: Go into .sencha/app

install sencha-touch 2.1 on mac

霸气de小男生 提交于 2019-12-19 04:56:30
问题 I need to install sencha touch 2.1 on my mac but I can't… i follow this guide http://www.sencha.com/learn/getting-started-with-sencha-touch-2 so i installed sencha cmd and i copy the sencha-sdk folder in the www/ directory of apache.. if i do: localhost/sencha-skd on my browser i see the docs of sencha, so the server works fine.. but from the terminal if I write the command sencha i get -bash: sencha: command not found and this happend in every folder… somebody can help me? thanks a lot 回答1:

sencha touch with phonegap (using sencha cmd and phonegap build) causes Error : LocalFileSystem not defined

南笙酒味 提交于 2019-12-17 15:04:20
问题 I followed these sencha cmd guide to produce a phoneGap based sencha touch 2 project: Using Latest Sencha Cmd v4.0.2.67 , Latest sencha touch 2.3.1 , phoneGap ver- 3.1.0 1) Make a sencha touch 2 project by : sencha -sdk /path/to/sencha-touch-sdk generate app MyApp /path/to/www/myapp 2) Add phoneGap to the above project sencha phonegap init 3) configure the phonegap.local.properties phonegap.platform=android phonegap.build.remote=true phonegap.build.remote.username=myUseName phonegap.build

Registry key Error: Java version has value '1.8', but '1.7' is required

久未见 提交于 2019-12-17 08:16:10
问题 While running sencha app build production I am getting the following error: Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required. Error: could not find java.dll Error: Could not find Java SE Runtime Environment. java -version , command is showing following: java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b26) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode) Not able to find where path is

Synchronously loading 'MyApp.store.TreeStructures'; consider adding Ext.require('MyApp.store.TreeStructures') above Ext.onReady

大兔子大兔子 提交于 2019-12-13 17:26:27
问题 Below, you will see that I'm getting a JavaScript exception with an MVC view I created in an Sencha ExtJS MVC application. I have another MVC view that extends 'Ext.tree.Panel' that reads a simple JSON object instead of pulling the data via an Ext.Direct proxy and .NET server-side stack, but the only thing that's different is the proxy implementation and of course our MVC controller logic. In the static (JSON) implementation, our proxy is defined in the model. In the dynamic (Ext.Direct)