Results 1 to 5 of 5

Thread: sencha app watch throwing error right after starting

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha MVP Team Member
    Join Date
    Sep 2016
    Location
    Kennewick, WA
    Posts
    147

    Default sencha app watch throwing error right after starting

    Below is what is happening as soon as I send the command sencha app watch it goes as expected with the build process, comes to waiting for changes and concluded with Fashion waiting for changes... Right after that the error is thrown.

    J:\repo\development\andy.allord\andy003\ezWeb360Mobile>sencha app watch
    Sencha Cmd v6.5.2.15
    [INF] Processing Build Descriptor : default (development environment)
    [INF] Starting server on port : 1841
    [INF] Mapping http://localhost:1841/~cmd to C:\Users\andy.allord\bin\Sencha\Cmd\6.5.2.15...
    [INF] Mapping http://localhost:1841/ to J:\repo\development\andy.allord\andy003\ezWeb360Mobile...
    [INF] Server started at port : 1841
    [INF] Application available at http://localhost:1841
    [INF] Loading compiler context
    [INF] Loading app json manifest...
    [INF] Appending content to J:\repo\development\andy.allord\andy003\ezWeb360Mobile\bootstrap.js
    [INF] Writing content to J:\repo\development\andy.allord\andy003\ezWeb360Mobile\bootstrap.json
    [INF] merging 407 input resources into J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\development\ezWeb360Mobile\resources
    [INF] merged 35 resources into J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\development\ezWeb360Mobile\resources
    [INF] merging 46 input resources into J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\development\ezWeb360Mobile
    [INF] merged 0 resources into J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\development\ezWeb360Mobile
    [INF] Writing content to J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\temp\development\ezWeb360Mobile\slicer-temp\bootstrap.json
    [INF] Writing content to J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\temp\development\ezWeb360Mobile\slicer-temp\bootstrap.js
    [INF] writing sass content to J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\temp\development\ezWeb360Mobile\sass\ezWeb360Mobile-all.scss.tmp
    [INF] appending sass content to J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\temp\development\ezWeb360Mobile\sass\ezWeb360Mobile-all.scss.tmp
    [INF] appending sass content to J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\temp\development\ezWeb360Mobile\sass\ezWeb360Mobile-all.scss.tmp
    [INF] Writing content to J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\development\ezWeb360Mobile\app.json
    [LOG] Fashion build starting for J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\temp\development\ezWeb360Mobile\sass\ezWeb360Mobile-all.scss
    [LOG] Fashion build complete for J:\repo\development\andy.allord\andy003\ezWeb360Mobile\build\temp\development\ezWeb360Mobile\sass\ezWeb360Mobile-all.scss
    [LOG] Fashion build completed in 3.819 sec.
    [INF] Appending content to J:\repo\development\andy.allord\andy003\ezWeb360Mobile\bootstrap.js
    [INF] Writing content to J:\repo\development\andy.allord\andy003\ezWeb360Mobile\bootstrap.json
    [INF] Loading Build Environment
    [INF] Waiting for changes...
    [LOG] Fashion waiting for changes...
    events.js:160
    throw er; // Unhandled 'error' event
    ^

    Error: Error watching file for changes: UNKNOWN
    at exports._errnoException (util.js:1022:11)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1282:11)
    Exception in thread "Thread-21" com.sencha.exceptions.ExBuild: Fashion build exited with code : 1
    at com.sencha.command.fashion.FashionCommand.runProcess(FashionCommand.java:155)
    at com.sencha.command.fashion.FashionCommand.runBuildNode(FashionCommand.java:126)
    at com.sencha.command.fashion.FashionCommand.runBuild(FashionCommand.java:64)
    at com.sencha.command.fashion.FashionCommand.execute(FashionCommand.java:55)
    at com.sencha.tools.fashion.ant.FashionWatchTask.runFashion(FashionWatchTask.java:114)
    at com.sencha.tools.fashion.ant.FashionWatchTask.access$000(FashionWatchTask.java:21)
    at com.sencha.tools.fashion.ant.FashionWatchTask$1.run(FashionWatchTask.java:71)
    at com.sencha.util.ThreadUtil$1.run(ThreadUtil.java:65)
    at com.sencha.util.ThreadUtil$2.run(ThreadUtil.java:162)
    at java.lang.Thread.run(Unknown Source)

    J:\repo\development\andy.allord\andy003\ezWeb360Mobile>
    I am running on an AWS remote instance, Windows 10, Ext JS 6.5 with CMD 6.5.

    Funny part is when doing sencha app build whether production or development both builds complete successfully. The problem is annoying because when adding new components, models, stores I have to now build the project again before I can test any changes made.

    Any ideas what is happening here?
    Andy Allord
    Sencha MVP/Software Engineer

  2. #2
    Sencha MVP Team Member
    Join Date
    Sep 2016
    Location
    Kennewick, WA
    Posts
    147

    Default

    Bump... Anyone have any clues?
    Andy Allord
    Sencha MVP/Software Engineer

  3. #3
    Sencha MVP Team Member
    Join Date
    Sep 2016
    Location
    Kennewick, WA
    Posts
    147

    Default

    I've put in a support request to resolve this.
    Andy Allord
    Sencha MVP/Software Engineer

  4. #4
    Sencha MVP Team Member
    Join Date
    Sep 2016
    Location
    Kennewick, WA
    Posts
    147

    Default Resolution is as follows.

    Quote Originally Posted by aallord View Post
    I've put in a support request to resolve this.

    This has been resolved.

    The issue was in the path variables. A path was set for all versions of Sencha Cmd, such as

    Code:
    C:\Users\username\bin\Sencha\Cmd\6.5.2.15;C:\Users\username\bin\Sencha\Cmd\6.6.0.13;
    The path for Sencha Cmd should be

    Code:
    C:\Users\username\bin\Sencha\Cmd
    With the correct path setting sencha switch --list correctly returns the list of installed versions of Sencha Cmd
    Andy Allord
    Sencha MVP/Software Engineer

  5. #5
    Sencha MVP Team Member
    Join Date
    Sep 2016
    Location
    Kennewick, WA
    Posts
    147

    Default

    Closing due to solution being listed above.
    Andy Allord
    Sencha MVP/Software Engineer

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
  •