Bonjour,
J'utilise Sencha CMD 6.5.2.15 avec ExtJS 6.5.
J'ai généré un appli sans problème.
J'ai créer quelques views sans problème et j'arrive à utiliser l'appli en utilisant la commande "sencha app watch".
Par contre quand j'essais de faire un build avec "sencha app build production" j'ai l'erreur suivante :
Dans le fichier Main.js j'ai ceci:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 [INF] Processing Build Descriptor : modern (production environment) [INF] Loading compiler context [INF] Loading app json manifest... [ERR] Failed to resolve dependency Ext.container.Viewport for file App.view.main.Main [ERR] [ERR] BUILD FAILED [ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.container.Viewport [ERR] [ERR] Total time: 4 seconds
Si l'un d'entre vous pouvait m'indiquer à quel endroit j'ai fais une erreur ou s'il me manque une config.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 Ext.define('App.view.main.Main', { extend: 'Ext.container.Viewport', xtype: 'main', ...
Merci par avance
Partager