jQuery UI Widgets Forums Angular Angular 2 Input

This topic contains 5 replies, has 3 voices, and was last updated by  Ivo Zhulev 7 years, 10 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Angular 2 Input #90828

    n_oandasan
    Participant

    Im first time in angular 2 and jqwidgets.. Please help…Failed to load resource: the server responded with a status of 404 (Not Found)…http://localhost:3000/jqwidgets-ts/angular_jqxinput

    Angular 2 Input #90832

    Hristo
    Participant

    Hello n_oandasan,

    I would like to suggest you this and this tutorials.
    Also, I would like to suggest you check the references in your example.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Angular 2 Input #90869

    n_oandasan
    Participant

    Hi Hristo,

    I tried those link, after copying with same directory structure, I install, I used npm install command

    I really want to jqwidget using angular but no luck, if you have step-by-step please share. thanks

    Angular 2 Input #90871

    n_oandasan
    Participant

    Hi Hristo,

    This is what i got after following on the link you given.

    C:\Users\Administrator\Desktop\root>npm start

    > angular2_jqwidgets_aot_webpack_example@1.0.0 start C:\Users\Administrator\Desktop\root
    > npm run ngc && npm run webpack

    > angular2_jqwidgets_aot_webpack_example@1.0.0 ngc C:\Users\Administrator\Desktop\root
    > ngc -p ./tsconfig.aot.json

    Error: Unexpected value ‘jqxBarGaugeComponent’ declared by the module ‘AppModule’
    at C:\Users\Administrator\Desktop\root\node_modules\@angular\compiler\bundles\compiler.umd.js:14126:33
    at Array.forEach (native)
    at CompileMetadataResolver.getNgModuleMetadata (C:\Users\Administrator\Desktop\root\node_modules\@angular\compiler\bundles
    \compiler.umd.js:14113:51)
    at C:\Users\Administrator\Desktop\root\node_modules\@angular\compiler\bundles\compiler.umd.js:12865:47
    at Array.forEach (native)
    at analyzeModules (C:\Users\Administrator\Desktop\root\node_modules\@angular\compiler\bundles\compiler.umd.js:12864:17)
    at OfflineCompiler.analyzeModules (C:\Users\Administrator\Desktop\root\node_modules\@angular\compiler\bundles\compiler.umd
    .js:12889:18)
    at CodeGenerator.codegen (C:\Users\Administrator\Desktop\root\node_modules\@angular\compiler-cli\src\codegen.js:121:47)
    at codegen (C:\Users\Administrator\Desktop\root\node_modules\@angular\compiler-cli\src\main.js:7:81)
    at Object.main (C:\Users\Administrator\Desktop\root\node_modules\@angular\tsc-wrapped\src\main.js:30:16)
    Compilation failed

    npm ERR! Windows_NT 6.1.7601
    npm ERR! argv “C:\\Program Files\\nodejs\\node.exe” “C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\
    npm-cli.js” “run” “ngc”
    npm ERR! node v6.9.2
    npm ERR! npm v4.0.5
    npm ERR! code ELIFECYCLE
    npm ERR! angular2_jqwidgets_aot_webpack_example@1.0.0 ngc: ngc -p ./tsconfig.aot.json
    npm ERR! Exit status 1
    npm ERR!

    Angular 2 Input #90873

    n_oandasan
    Participant

    do you have step by step to start angular with jqwidgets? please, i can’t really follow. thanks

    Angular 2 Input #90900

    Ivo Zhulev
    Participant

    Hi n_oandasan,

    My suggestion:

    As you are at the start, use the other step by step tutorial. WebPack with AOT is a little bit more complex, so stick with systemjs for now.
    Try that tutorial, and if you have questions please feel free to ask.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.