PDA

View Full Version : ext-react generate theme problem



passsoon
7 Jul 2018, 8:52 PM
I tried to generate sencha theme using ext-react on Mac OS 10
but it didn't work
How can I fix this?

dongheeui-MBP:Git donghee$ ext-react generate theme --name my-theme --baseTheme theme-material
USING sencha: /usr/local/lib/node_modules/@extjs/reactor/node_modules/@extjs/sencha-cmd/bin/sencha
Using existing workspace at ext-react/workspace.json
Generating theme package...
[ERR] Error: spawn /usr/local/lib/node_modules/@extjs/reactor/node_modules/@extjs/sencha-cmd/dist/sencha ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:217:19)
at onErrorNT (internal/child_process.js:394:16)
at process._tickCallback (internal/process/next_tick.js:174:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:721:11)
at startup (internal/bootstrap/node.js:228:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:575:3)
Error encountered. Could not read package.json for theme named: my-theme


dongheeui-MBP:Git donghee$ ext-react generate theme --name my-theme
USING sencha: /usr/local/lib/node_modules/@extjs/reactor/node_modules/@extjs/sencha-cmd/bin/sencha
Using existing workspace at ext-react/workspace.json
Generating theme package...
[ERR] Error: spawn /usr/local/lib/node_modules/@extjs/reactor/node_modules/@extjs/sencha-cmd/dist/sencha ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:217:19)
at onErrorNT (internal/child_process.js:394:16)
at process._tickCallback (internal/process/next_tick.js:174:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:721:11)
at startup (internal/bootstrap/node.js:228:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:575:3)
Error encountered. Could not read package.json for theme named: my-theme

Silfide
19 Jul 2018, 3:07 AM
I have the same problem. How did you fix it? I tried to create by myself the package.json and the error mesagge changed (but I stilll have an error). The problem is that this is what the theme creator is suposed to do, right?