Results 1 to 2 of 2

Thread: [6.7.0: Commercial] Problem running newly generated application "spawn UNKNOWN"

  1. #1
    Sencha Premium Member
    Join Date
    Jul 2013
    Posts
    6
    Answers
    1
    Vote Rating
    0
      0  

    Default Answered: [6.7.0: Commercial] Problem running newly generated application "spawn UNKNOWN"

    I followed the below guide, and created an example application through ext-gen.
    https://docs.sencha.com/extjs/6.7.0/...n_tooling.html

    There is no errors generating the application.

    When i run "npm start", it opens a blank page and shows the following error::
    Code:
    > [email protected] dev C:\Sencha-npm\my-app
    > webpack-dev-server --env.environment=development
    
    
    i [ext]: ext-webpack-plugin v6.7.0, Ext JS v6.7.0.210 Commercial Edition, Sencha Cmd v6.7.0.63, webpack v4.32.2
    i [ext]: Building for development
    i [ext]: Treeshake is false
    i 「wds」: Project is running at http://0.0.0.0:1962/
    i 「wds」: webpack output is served from /
    i 「wds」: Content not from webpack is served from ./
    i 「wds」: 404s will fallback to /index.html
    i [ext]: Building Ext bundle at: ./
    i [ext]:  [ERR] internal/child_process.js:394     throw errnoExcep
    i [ext]:  [ERR] tion(err, 'spawn');     ^  Error: spawn UNKNOWN     at ChildProcess.spawn (internal/child_process.js:394:11)     at Object.spawn (child_process.js:539:9)     at Object.<anonymous> (C:\Sencha-npm\my-app\node_modules\@sencha\cmd\bin\sencha:12:42)     at Module._compile (internal/modules/cjs/loader.js:774:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)     at Module.load (internal/modules/cjs/loader.js:641:32)     at Function.Module._load (internal/modules/cjs/loader.js:556:12)     at Function.Module.runMain (internal/modules/cjs/loader.js:837:10)     at internal/main/run_main_module.js:17:11 {   errno: 'UNKNOWN',   code: 'UNKNOWN',   syscall: 'spawn' }
    i [ext]: Opening browser at http://localhost:1962
    i [ext]: Completed ext-webpack-plugin processing
    × 「wdm」: Built at: 2019-05-25 11:03:07
    
    
    ERROR in 1
    i 「wdm」: Failed to compile.
    ---

    Any ideas?


    Thanks in advance

  2. Quote Originally Posted by [email protected] View Post
    I followed the below guide, and created an example application through ext-gen.
    https://docs.sencha.com/extjs/6.7.0/...n_tooling.html

    There is no errors generating the application.

    When i run "npm start", it opens a blank page and shows the following error::
    Code:
    > [email protected] dev C:\Sencha-npm\my-app
    > webpack-dev-server --env.environment=development
    
    
    i [ext]: ext-webpack-plugin v6.7.0, Ext JS v6.7.0.210 Commercial Edition, Sencha Cmd v6.7.0.63, webpack v4.32.2
    i [ext]: Building for development
    i [ext]: Treeshake is false
    i 「wds」: Project is running at http://0.0.0.0:1962/
    i 「wds」: webpack output is served from /
    i 「wds」: Content not from webpack is served from ./
    i 「wds」: 404s will fallback to /index.html
    i [ext]: Building Ext bundle at: ./
    i [ext]:  [ERR] internal/child_process.js:394     throw errnoExcep
    i [ext]:  [ERR] tion(err, 'spawn');     ^  Error: spawn UNKNOWN     at ChildProcess.spawn (internal/child_process.js:394:11)     at Object.spawn (child_process.js:539:9)     at Object.<anonymous> (C:\Sencha-npm\my-app\node_modules\@sencha\cmd\bin\sencha:12:42)     at Module._compile (internal/modules/cjs/loader.js:774:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)     at Module.load (internal/modules/cjs/loader.js:641:32)     at Function.Module._load (internal/modules/cjs/loader.js:556:12)     at Function.Module.runMain (internal/modules/cjs/loader.js:837:10)     at internal/main/run_main_module.js:17:11 {   errno: 'UNKNOWN',   code: 'UNKNOWN',   syscall: 'spawn' }
    i [ext]: Opening browser at http://localhost:1962
    i [ext]: Completed ext-webpack-plugin processing
    × 「wdm」: Built at: 2019-05-25 11:03:07
    
    
    ERROR in 1
    i 「wdm」: Failed to compile.
    ---

    Any ideas?


    Thanks in advance
    We found a solution to the problem after a bit of research.

    It works after we updated the Sencha Cmd like so:
    1. Placed the SDK in a path line: "C:\Users\%user%\Sencha-SDKs\ext-6.7.0.210".
    2. Updated the sencha config with: "sencha config --prop sencha.sdk.path=C:\Users\%user%\Sencha-sdks --save".

  3. #2
    Sencha Premium Member
    Join Date
    Jul 2013
    Posts
    6
    Answers
    1
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by [email protected] View Post
    I followed the below guide, and created an example application through ext-gen.
    https://docs.sencha.com/extjs/6.7.0/...n_tooling.html

    There is no errors generating the application.

    When i run "npm start", it opens a blank page and shows the following error::
    Code:
    > [email protected] dev C:\Sencha-npm\my-app
    > webpack-dev-server --env.environment=development
    
    
    i [ext]: ext-webpack-plugin v6.7.0, Ext JS v6.7.0.210 Commercial Edition, Sencha Cmd v6.7.0.63, webpack v4.32.2
    i [ext]: Building for development
    i [ext]: Treeshake is false
    i 「wds」: Project is running at http://0.0.0.0:1962/
    i 「wds」: webpack output is served from /
    i 「wds」: Content not from webpack is served from ./
    i 「wds」: 404s will fallback to /index.html
    i [ext]: Building Ext bundle at: ./
    i [ext]:  [ERR] internal/child_process.js:394     throw errnoExcep
    i [ext]:  [ERR] tion(err, 'spawn');     ^  Error: spawn UNKNOWN     at ChildProcess.spawn (internal/child_process.js:394:11)     at Object.spawn (child_process.js:539:9)     at Object.<anonymous> (C:\Sencha-npm\my-app\node_modules\@sencha\cmd\bin\sencha:12:42)     at Module._compile (internal/modules/cjs/loader.js:774:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)     at Module.load (internal/modules/cjs/loader.js:641:32)     at Function.Module._load (internal/modules/cjs/loader.js:556:12)     at Function.Module.runMain (internal/modules/cjs/loader.js:837:10)     at internal/main/run_main_module.js:17:11 {   errno: 'UNKNOWN',   code: 'UNKNOWN',   syscall: 'spawn' }
    i [ext]: Opening browser at http://localhost:1962
    i [ext]: Completed ext-webpack-plugin processing
    × 「wdm」: Built at: 2019-05-25 11:03:07
    
    
    ERROR in 1
    i 「wdm」: Failed to compile.
    ---

    Any ideas?


    Thanks in advance
    We found a solution to the problem after a bit of research.

    It works after we updated the Sencha Cmd like so:
    1. Placed the SDK in a path line: "C:\Users\%user%\Sencha-SDKs\ext-6.7.0.210".
    2. Updated the sencha config with: "sencha config --prop sencha.sdk.path=C:\Users\%user%\Sencha-sdks --save".

Posting Permissions

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