問題タブ [sencha-cmd]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - Sencha-Touch から Android - TouchWiz の問題
私は Android を初めて使用し、最初の apk ファイルを作成したばかりです。私のアプリは実際には、Sencha CMD によって Andoird 用にパッケージ化された Sencha-Touch-Web-App です。
adb を使用してデバイスにアプリをインストールすると、Samsung ユーザー インターフェイス TouchWiz が停止します。これにより、デバイスが使用できなくなります。アプリをアンインストールすると、TouchWiz は元に戻ります。
私の JavaScript コードがどのようにこのエラーの原因になっているのかわかりません。私に賛成してくれますか ?
Sencha CMD パッケージ操作を構成する json ファイルの下:
TouchWiz の問題の原因についての手がかりは非常に役立ちます。ありがとうございました。
extjs - sencha cmd で extjs 4.2 アプリを生成すると、デフォルトのテーマ名が機能しませんでした
私はフローコマンドを使用します:
次に、/.sencha/app/sencha.cfg ファイルを確認します。app.theme は、まだ app.theme=ext-theme-classic のようになっています。
そして、bootstrap.css はまだ @import 'ext/packages/ext-theme-classic/build/resources/ext-theme-classic-all.css' です。
sencha cmd を使用してアプリのテーマを変更するにはどうすればよいですか?
extjs - Ext 4.2、Sencha Cmd 3 + deftjs - 動作するアプリケーションをビルドできない
ext + deftjs アプリケーションのビルド ツールを Sencha SDK から Sencha Cmd (v3) にアップグレードしました。その際、Ext を 4.2 に、Deft を Ext 0.8 にアップグレードしました。私は最初、 Ext.onReady() が起動されないという問題を抱えていたため、viewControllers が対応するビューからインスタンス化されませんでした。ただし、それを修正し、アプリケーションは開発モードで動作するようになりました
sencha app refresh
コマンドを使用してアプリケーションをビルドしようとしていますsencha app build
が、ビルドされたアプリケーションがまったく読み込まれません。
繰り返しますが、私の ViewControllers はインスタンス化されていません。ビルド ツールによって、deft クラスとビュー コントローラーが all-classes.js に追加されました。(Deft クラスはファイルの最初にあり、ビュー コントローラーはさらに下にあります)
sencha.cfgには、次のクラスパスが含まれています。
inj.jsには、私のローダー宣言が含まれています。
私のメインビューポートは、インスタンス化される最初のビューであり、次の宣言が含まれています。
私の開発者 index.htmlは次のようになります。
アプリのコンパイル済みバージョンでビュー コントローラーがインスタンス化されない理由を知っている人はいますか?
ありがとう
extjs - sencha アプリ ビルド エラー codegen.json が見つかりません
アプリのテストをビルドしているときにこのエラーが発生しました。sencha cmd と sencha バージョン 2.2 を使用しました。解決策を返信してください。
これは環境変数の問題ですか? 私の sencha cmd セットアップ C:\Program Files\Sencha\Cmd\repo.sencha\codegen.json では、私の cmd セットアップ フォルダーに repo フォルダーが作成されません。
extjs - Synchronously loading 'MyApp.store.TreeStructures'; consider adding Ext.require('MyApp.store.TreeStructures') above Ext.onReady
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) implementation, our proxy is defined in the store. The TreeStructures.js (store) JavaScript file keeps being requested an infinite amount of times until the browser crashes. See below for that exception.
I highly doubt this is an Ext.Direct issue because I have other stores working great with this architecture. I see the [Ext.Loader] exception, but I'm not sure why that one keeps repeating with every new TreeStructures.js request. Or where to implement that requires. My understanding is that the app.js defines the controllers. The controller then defines the models an stores. And the Viewport defines and instantiates other MVC views. My "other views" being the tree views. And the view implements the store.
Also, the Sencha Cmd "sencha app build" command is not working. Normally my application compiles without any issues, so something is definitely missing in the store or MVC configuration that's necessary for this dynamic tree.
Exception in JavaScript Console:
Browser crashes with this JavaScript Exception:
Note: The TreeStructures.js (store) JavaScript file keeps being requested an infinite amount of times until the browser crashes with this:
Sencha Cmd errors (after calling the "sencha app build" command):
Static tree implementation (reads JSON object to get data):
Dynamic tree implementation (uses server-side stack to get data):
extjs - Sencha Cmd が依存関係の PARRENTCLASS を解決できませんでした
Sencha Cmd ツールに問題があります。アプリをビルドしようとすると、次のエラーが発生します。
これが何を意味するか知っている人はいますか?私はそのファイルさえ持っていないので、PARRENTCLASS
依存関係とファイル名は奇妙に見えます。Myapp
私のapp.js
:
このエラーの原因は何ですか?
extjs - ExtJS 複数の CSS ファイルのテーマ設定
以前のバージョンの ExtJS では、 にcompass compile
配置された各 sass ファイルresources/sass
を個別の CSS ファイルにコンパイルしていました。例えば:
app.scss ---> app.css
login.scss ---> login.css
ExtJS 4 (具体的には 4.2.1) の新しいテーマ構造を使用して同様のことを達成し、Sencha Cmd (実行中sencha app build
) でカバーされるビルド プロセス全体とうまく統合できるかどうか疑問に思っています。
extjs - Sencha バグトラッカーの URL
sencha バグトラッカーの URL を教えてください。1 つのバグのステータスを確認する必要があります。sencha ブログでも見つけた問題に直面しており、バグトラッカーに追加されていることがわかりました。
javascript - Sencha touch プロダクション ビルド エラー
touch 2.1.0 と Cmd 3.1.2.342 の使用
sencha アプリのプロダクション バージョンを作成しようとしているときに、次のエラーが表示されます。
[WRN] C1003: サポートされていない Ext.define 構文 -- C:\wamp\www\touch-2.1.0\axis\nativ e\appname\touch\src\fx\TimingFunctions.js:109
[ERR] C2008: 要件に一致するファイルがありません (Ext.fx.TimingFunctions) -- C:\wa mp\www\touch-2.1.0\axis\native\appname\touch\src\fx\Abstract.js:959
[ERR] この行の実行中に次のエラーが発生しました: C:\wamp\www\touch-2.1.0\axis\native\appname.sencha\app\build-impl.xml:165:
fx/Abstract.js には fx/TimingFunctions.js というファイルが必要ですが、見つからないと言っているようです。ただし、ファイルがそのフォルダーに存在するため、これは意味するものではありません。
私が使用しているコマンドは次のとおりです。
煎茶アプリのビルド制作
TimingFunctions.js の 109 行目は次のようになります。
Ext.define('Ext.fx.TimingFunctions', Ext.apply({
singleton: true,...
1 つの解決策は、TimingFunctions.js の 109 行目を次のように変更することです。
Ext.define('Ext.fx.TimingFunctions', Ext.apply({
に:
Ext.define('Ext.fx.TimingFunctions', {
同じファイルの 136 行目を次のように変更します。
}, EasingPrototype));
に:
}, EasingPrototype);
これにより、ビルドを進めることができます。
ただし、Web ブラウザーで本番アプリを表示すると、フリーズし、次のエラーが表示されます。
Uncaught TypeError: Object # has no method 'call' process sencha-touch-all-debug.js:6767
(無名関数) sencha-touch-all-debug.js:6774 の処理
(匿名関数) sencha-touch-all-debug.js:6779
Ext.apply.onBeforeCreated sencha-touch-all-debug.js:5196
sencha-touch-all-debug.js:5262 を処理する
sencha-touch-all-debug.js:5268 を処理する
sencha-touch-all-debug.js:5268 を処理する
sencha-touch-all-debug.js:5268 を処理する
Ext.apply.process sencha-touch-all-debug.js:5272
Ext.Class.ExtClass sencha-touch-all-debug.js:5183
Ext.ClassManager.create sencha-touch-all-debug.js:6725 Ext.apply.define sencha-touch-all-debug.js:7407
(無名関数) TimingFunctions.js?_dc=1379403994382:109
(無名関数) TimingFunctions.js?_dc=1379403994382:138