Results 1 to 2 of 2

Thread: Bug on Compiler (after npm start)

  1. #1
    Sencha User
    Join Date
    Aug 2017
    Posts
    2

    Default Bug on Compiler (after npm start)

    Hi guys,

    Just signed up the ExtReact Trial and got some issues when installing the demo app.
    Got a lot of
    Unsupported Ext.define syntax
    and a final Build Failed as below

    Code:
    BUILD FAILED
    java.lang.ClassCastException: com.sencha.tools.compiler.ast.js.DefaultParameter cannot be cast to com.sencha.tools.compiler.ast.js.ObjectProperty
    
    /Users/alexandrepereira/Documents/@DEV/@LOCAL/beevora/beevora/build/ext-react/build.xml:27: java.lang.ClassCastException: com.sencha.tools.compiler.ast.js.DefaultParameter cannot be cast to com.sencha.tools.compiler.ast.js.ObjectProperty
    I'm on node 8.4.0 and java 8

    Any idea ?
    Alex

  2. #2
    Sencha User
    Join Date
    Aug 2017
    Posts
    2

    Default Issues with compiler

    Hi guys,

    Got some issues with the webpack compiler when launching
    npm run start
    after creating with Yo the ExtReact app (with sample of code).

    Got first a lot of
    Code:
    Unsupported Ext.define syntax
    errors and then the final error :

    Code:
    BUILD FAILED
    java.lang.ClassCastException: com.sencha.tools.compiler.ast.js.DefaultParameter cannot be cast to com.sencha.tools.compiler.ast.js.ObjectProperty
    I'm on node 8.4.0 & java 8 on MacOS.

    Any idea ?
    Thx
    Alex

  3. #3
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482
    Answers
    114

    Default

    I just tried using yo to create a new ExtReact app with a similar setup on Mac OS and everything worked fine. Can you make sure you have the latest yo and @extjs/generator-ext-react installed?

    To do this run:

    Code:
    npm i -g [email protected] @extjs/[email protected]

Similar Threads

  1. Compiler - how to produce even smaller ext-all.js?
    By Alinanila in forum Sencha Cmd
    Replies: 3
    Last Post: 12 Dec 2014, 12:59 AM
  2. Some files does not included by compiler
    By sff in forum Sencha Cmd
    Replies: 1
    Last Post: 1 Apr 2013, 9:05 PM
  3. externs.js for closure compiler
    By Ion Tichy in forum Sencha Touch 1.x: Discussion
    Replies: 7
    Last Post: 6 Sep 2011, 10:13 AM
  4. GWT 2.3.0 - GXT-2.2.4-gwt22.jar Compiler Errors
    By harun in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 5 Aug 2011, 3:04 AM
  5. Internal compiler error -> GXT 2.2.1 + GWT 2.2.0, bug?
    By vielinko in forum Ext GWT: Discussion
    Replies: 9
    Last Post: 22 Mar 2011, 8:52 PM

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
  •