Results 1 to 2 of 2

Thread: ext-react generate theme problem

  1. #1
    Ext JS Premium Member
    Join Date
    Dec 2010
    Posts
    3

    Default ext-react generate theme problem

    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

  2. #2
    Sencha User
    Join Date
    Jun 2018
    Posts
    11

    Default

    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?

Similar Threads

  1. Error in ext-react generate theme
    By philiparad in forum Q&A
    Replies: 1
    Last Post: 30 May 2017, 5:38 AM
  2. Replies: 1
    Last Post: 14 Aug 2015, 12:07 AM
  3. [FIXED] can not Generate Theme
    By blomasky in forum Sencha Cmd
    Replies: 3
    Last Post: 15 Dec 2014, 1:59 PM
  4. Replies: 2
    Last Post: 20 Apr 2013, 4:15 PM
  5. sencha generate theme, how to ?!?
    By koblass in forum Sencha Cmd
    Replies: 4
    Last Post: 20 Feb 2013, 3:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •