Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
Dependency error happens by Ext.grid.Tree in ExtJS 6.7.0 Community Edition
Hi
Now I got a dependency error for tree grid in ExtJS 6.7.0 Community Edition.
Is this a bug ? or I have to do some settings ?
or we can't use tree grid in ExtJS 6.7.0 CE ?
## Steps to Reproduce
Step1. Generate an application.
$ npm install @sencha/ext-gen
$ node_modules/.bin/ext-gen app -i
appName: MyExtGenApp
template: moderndesktop
modernTheme: theme-material
Step2. Change only one line to use tree grid
Ext.define('MyExtGenApp.view.personnel.PersonnelView',{
//extend: 'Ext.grid.Grid',
// ↓
extend: 'Ext.grid.Tree',
Step3. Run application
$ cd MyExtGenApp; npm start
-> Got an error.
ERROR in ℹ 「ext」: Failed to resolve dependency Ext.grid.Tree for file MyExtGenApp.view.personnel.PersonnelView
ERROR in ℹ 「ext」: [ERR]
ERROR in ℹ 「ext」: BUILD FAILED
ERROR in ℹ 「ext」: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.grid.Tree
## Note
* I look like "node_modules/@sencha/ext-modern-treegrid" exists in node_module directory. But this error happens.
* I found similar post. But there is no solution.
"Bug (or a Feature?): Lack of tree grid and column components in CE"
https://www.sencha.com/forum/showthread.php?470993
Best regards,
Naoaki
-
Sencha - Forum Administrator
Thank you so much for bringing this to our attention. I apologize for the delay. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated!
Thanks again,
Michele
-
Ext Support Team
Hello Naoaki,
There is an existing bug for this issue with the reference number EXTJS-27477, this Jira will be linked here for you to receive updates.
Regards,
Kumar
Sencha Support.
-
Sencha User
Hello Kumar,
Thank you for your response.
I understand it. I hope it will be fixed soon.
Regards,
Naoaki
-
Management means doing the things right,
Leadership means doing the right things.
www.interpid.eu
-
Sencha User

Originally Posted by
klodoma1
Any updates on this one?
Solution please
-
Sencha User
Hi
To avoid this build problem, you can do the following.
* This is a temporary workaround.
$ cd your-extjs-app-directory
$ cp -r node_modules/@sencha/ext-modern-treegrid/src/* app/shared/src
Now I can build my app with tree-grid on ExtJS6.7/7.0 modern.
Regards,
Naoaki
-
Sencha User

Originally Posted by
naoaki
Hi
To avoid this build problem, you can do the following.
* This is a temporary workaround.
$ cd your-extjs-app-directory
$ cp -r node_modules/@sencha/ext-modern-treegrid/src/* app/shared/src
Now I can build my app with tree-grid on ExtJS6.7/7.0 modern.
Regards,
Naoaki
Thank you, by the way I found a solution too.