Results 1 to 3 of 3

Thread: after installing @sencha/[email protected] i get Error: spawn

  1. #1
    Sencha Premium Member matei's Avatar
    Join Date
    Jun 2008
    Location
    Cluj-Napoca
    Posts
    83

    Exclamation after installing @sencha/[email protected] i get Error: spawn

    anyone knows why I get this error?


    after we updated to latest @sencha/cmd.


    Code:
    building ExtReact bundle: ext => C:\Products\nimbus-ui\packages\templates-app\build\ext-react
    [ERR] Error: spawn C:\Products\nimbus-ui\node_modules\@extjs\sencha-cmd\dist\sencha.exe ENOENT
        at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
        at onErrorNT (internal/child_process.js:421:16)
        at internalTickCallback (internal/process/next_tick.js:72:19)
        at process._tickCallback (internal/process/next_tick.js:47:5)
        at Function.Module.runMain (internal/modules/cjs/loader.js:779:11)
        at executeUserCode (internal/bootstrap/node.js:342:17)
        at startExecution (internal/bootstrap/node.js:276:5)
        at startup (internal/bootstrap/node.js:227:5)
        at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)

    Code:
    java -version
    java version "1.8.0_201"
    Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
    Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

  2. #2
    Sencha Premium Member matei's Avatar
    Join Date
    Jun 2008
    Location
    Cluj-Napoca
    Posts
    83

    Default

    reinstalling java + clean yarn cach for @sencha & @extjs packages seems to work.

  3. #3

    Default

    Struggling with the same problem on MacOS.

    During the installation, @sencha/cmd package tries to install @sencha/cmd-macos, which fails with 404 error.
    It seems like npm install @sencha/cmd-macos doesn't respect npm scope configurartion in .npmrc and tries to find the package in default registry.

    Cleaning npm/yarn cache and removing node_modules doesn't help

    Is there any correct way to fix that?

    Environment:

    ExtReact v6.7.0
    NodeJS v11
    NPM v6.7

    .npmrc:

    @sencha:registry=http://npm.sencha.com/
    //npm.sencha.com/:_authToken=...



Tags for this Thread

Posting Permissions

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