Results 1 to 6 of 6

Thread: using sencha cmd v3.1.0.256 Error!

  1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    3

    Default using sencha cmd v3.1.0.256 Error!

    index.html
    Code:
    <html>
    <head>
        <meta charset="UTF-8">
        <title>gLIS</title>
        <!-- <x-compile> -->
            <!-- <x-bootstrap> -->
                <link rel="stylesheet" href="bootstrap.css">
                <script src="ext/ext-dev.js"></script>
                <script src="bootstrap.js"></script>
            <!-- </x-bootstrap> -->
            <script src="app/gLISVariable.js"></script>
            <script src="app/gLISFunction.js"></script>
            <script src="app/checkcolumn.js"></script>
            <script src="app/app.js"></script>
        <!-- </x-compile> -->
    </head>
    <body></body>
    </html>
    using cmd " sencha app build" in sencha cmd v3.1.0.256
    => warning
    Code:
    ....
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                             },) -- D:\deloyer\app\view\vanban
    luu\TabCGThongTinQuyetDinhChuThua.js:8987
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                             },) -- D:\deloyer\app\view\vanban
    luu\TabCGThongTinQuyetDinhChuThua.js:49987
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                     },) -- D:\deloyer\app\view\vanbanluu\TabC
    GThongTinQuyetDinhChuThua.js:52779
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                             },) -- D:\deloyer\app\view\vanban
    luu\TabCGThongTinQuyetDinhChuThua.js:53787
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                                 },) -- D:\deloyer\app\view\va
    nbanluu\TabCGThongTinQuyetDinhChuThua.js:72391
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>         },) -- D:\deloyer\app\view\vanbanluu\TabTBThanhPhanHo
    So.js:1367
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTBThanhPh
    anHoSo.js:2571
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTBThanhPh
    anHoSo.js:16671
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTha
    nhPhanHoSo.js:17575
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTha
    nhPhanHoSo.js:31475
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>         },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTinNha
    CongTrinhTaiSan.js:1367
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTi
    nNhaCongTrinhTaiSan.js:2371
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTho
    ngTinNhaCongTrinhTaiSan.js:3475
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTho
    ngTinNhaCongTrinhTaiSan.js:21775
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTi
    nNhaCongTrinhTaiSan.js:23571
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTho
    ngTinNhaCongTrinhTaiSan.js:24675
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTho
    ngTinNhaCongTrinhTaiSan.js:41275
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>         },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTinNha
    CongTrinhTaiSan.js:43067
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTi
    nNhaCongTrinhTaiSan.js:44271
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTi
    nNhaCongTrinhTaiSan.js:46871
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>         },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTinTho
    ngBaoChuThua.js:6467
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTi
    nThongBaoChuThua.js:7471
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTho
    ngTinThongBaoChuThua.js:44375
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTi
    nThongBaoChuThua.js:46171
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTho
    ngTinThongBaoChuThua.js:85275
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>         },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTinTho
    ngBaoChuThua.js:87167
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             }) -- D:\deloyer\app\view\vanbanluu\TabTBThongTin
    ThongBaoChuThua.js:88171
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTho
    ngTinThongBaoChuThua.js:89375
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTho
    ngTinThongBaoChuThua.js:105775
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTBThongTi
    nThongBaoChuThua.js:107571
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTho
    ngTinThongBaoChuThua.js:108775
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTBTho
    ngTinThongBaoChuThua.js:125275
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTTPhieuCh
    uyenThuaChu.js:7471
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTTPhi
    euChuyenThuaChu.js:8375
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTTPhi
    euChuyenThuaChu.js:45075
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTTPhieuCh
    uyenThuaChu.js:47271
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTTPhi
    euChuyenThuaChu.js:48175
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTTPhi
    euChuyenThuaChu.js:62875
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>             },) -- D:\deloyer\app\view\vanbanluu\TabTTThongTi
    nNhaTaiSanKhac.js:6771
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTTTho
    ngTinNhaTaiSanKhac.js:7675
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                 },) -- D:\deloyer\app\view\vanbanluu\TabTTTho
    ngTinNhaTaiSanKhac.js:26275
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                     },) -- D:\deloyer\app\view\vanbanluu\TabT
    oTrinhNhaCongTrinhTaiSan.js:1979
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                             },) -- D:\deloyer\app\view\vanban
    luu\TabToTrinhNhaCongTrinhTaiSan.js:2987
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                                 },) -- D:\deloyer\app\view\va
    nbanluu\TabToTrinhNhaCongTrinhTaiSan.js:23391
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                                     },) -- D:\deloyer\app\vie
    w\vanbanluu\TabToTrinhThanhPhanHoSo.js:13595
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                     },) -- D:\deloyer\app\view\vanbanluu\TabT
    oTrinhThuaChu.js:8879
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                             },) -- D:\deloyer\app\view\vanban
    luu\TabToTrinhThuaChu.js:9887
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                             },) -- D:\deloyer\app\view\vanban
    luu\TabToTrinhThuaChu.js:50987
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                     },) -- D:\deloyer\app\view\vanbanluu\TabT
    oTrinhThuaChu.js:53779
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                             },) -- D:\deloyer\app\view\vanban
    luu\TabToTrinhThuaChu.js:54787
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                                     ]) -- D:\deloyer\app\view
    \vanbanluu\TabToTrinhThuaChu.js:70895
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj
    ect initializer =>                                 },) -- D:\deloyer\app\view\va
    nbanluu\TabToTrinhThuaChu.js:71991
    [INF] Loading classpath entry D:\deloyer\sencha-compile-temp-dir\d82c6fad-82d2-4
    725-b740-dc317ae9f612
    [INF] Compressing data with YuiJavascriptCompressor
    [INF] Concatenating output to file D:\deloyer/build/gLIS/production/all-classes.
    js
    [INF] Appending concatenated output to file D:\deloyer/sass/example/bootstrap.js
    
    [INF] Appending concatenated output to file D:\deloyer/sass/example/bootstrap.js
    
    [INF] Appending concatenated output to file D:\deloyer/sass/example/bootstrap.js
    
    [INF] Appending concatenated output to file D:\deloyer/sass/example/bootstrap.js
    
    [INF] generating sass for js compile context
    [INF] writing sass content to D:\deloyer/build/gLIS/production/gLIS-all.scss
    [INF] generating sass for js compile context
    [INF] writing sass content to D:\deloyer/build/gLIS/production/gLIS-example.scss
    hep me! thanks!

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409

    Default

    Check your code .. you have extra comma(s) somewhere in your view.

    Scott.

  3. #3
    Sencha User
    Join Date
    Mar 2013
    Posts
    3

    Default Thanks

    scott,Thanks!

  4. #4

    Default Ridiculous

    Even one extra comma generates this error . It's ridiculous . I think Sencha should solve this or generate error while writing code (in IDE) like in eclipse .

  5. #5
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409

    Default

    These are not errors, but actually warnings: [WRN]

    The build is still processing. It would nice to have syntax checking as well.

    Scott.

  6. #6

    Default

    Quote Originally Posted by scottmartin View Post
    These are not errors, but actually warnings: [WRN]

    The build is still processing. It would nice to have syntax checking as well.

    Scott.
    Yeah agreed with you.

Posting Permissions

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