jQWidgets Forums

jQuery UI Widgets Forums Angular Can't seem to get the demo angular to work

This topic contains 1 reply, has 2 voices, and was last updated by  Ivo Zhulev 7 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • timhortons
    Participant

    I have downloaded the angular jqwidgets and trying to run “npm start”. This is failing. Anyone knows how to get this to work.

    somecomp:angular someuser$ npm start

    > angular_jqwidgets_aot_webpack@1.0.0 start /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular
    > npm run ngc && npm run build0

    > angular_jqwidgets_aot_webpack@1.0.0 ngc /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular
    > ngc -p ./tsconfig.aot.json

    Error encountered resolving symbol values statically. Could not resolve ../../jqwidgets-ts/angular_jqxbargauge relative to /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular/app/modules/bargauge.module.ts., resolving symbol BarGaugeModule in /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular/app/modules/bargauge.module.ts, resolving symbol BarGaugeModule in /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular/app/modules/bargauge.module.ts

    npm ERR! Darwin 16.7.0
    npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” “ngc”
    npm ERR! node v6.11.4
    npm ERR! npm v3.10.10
    npm ERR! code ELIFECYCLE
    npm ERR! angular_jqwidgets_aot_webpack@1.0.0 ngc: ngc -p ./tsconfig.aot.json
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the angular_jqwidgets_aot_webpack@1.0.0 ngc script ‘ngc -p ./tsconfig.aot.json’.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the angular_jqwidgets_aot_webpack package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! ngc -p ./tsconfig.aot.json
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs angular_jqwidgets_aot_webpack
    npm ERR! Or if that isn’t available, you can get their info via:
    npm ERR! npm owner ls angular_jqwidgets_aot_webpack
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR! /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular/npm-debug.log

    npm ERR! Darwin 16.7.0
    npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”
    npm ERR! node v6.11.4
    npm ERR! npm v3.10.10
    npm ERR! code ELIFECYCLE
    npm ERR! angular_jqwidgets_aot_webpack@1.0.0 start: npm run ngc && npm run build0
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the angular_jqwidgets_aot_webpack@1.0.0 start script ‘npm run ngc && npm run build0’.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the angular_jqwidgets_aot_webpack package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! npm run ngc && npm run build0
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs angular_jqwidgets_aot_webpack
    npm ERR! Or if that isn’t available, you can get their info via:
    npm ERR! npm owner ls angular_jqwidgets_aot_webpack
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR! /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular/npm-debug.log
    somecomp:angular someuser$

    npm-debug.log:

    somecomp:angular someuser$ npm start

    > angular_jqwidgets_aot_webpack@1.0.0 start /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular
    > npm run ngc && npm run build0

    > angular_jqwidgets_aot_webpack@1.0.0 ngc /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular
    > ngc -p ./tsconfig.aot.json

    Error encountered resolving symbol values statically. Could not resolve ../../jqwidgets-ts/angular_jqxbargauge relative to /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular/app/modules/bargauge.module.ts., resolving symbol BarGaugeModule in /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular/app/modules/bargauge.module.ts, resolving symbol BarGaugeModule in /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular/app/modules/bargauge.module.ts

    npm ERR! Darwin 16.7.0
    npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” “ngc”
    npm ERR! node v6.11.4
    npm ERR! npm v3.10.10
    npm ERR! code ELIFECYCLE
    npm ERR! angular_jqwidgets_aot_webpack@1.0.0 ngc: ngc -p ./tsconfig.aot.json
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the angular_jqwidgets_aot_webpack@1.0.0 ngc script ‘ngc -p ./tsconfig.aot.json’.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the angular_jqwidgets_aot_webpack package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! ngc -p ./tsconfig.aot.json
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs angular_jqwidgets_aot_webpack
    npm ERR! Or if that isn’t available, you can get their info via:
    npm ERR! npm owner ls angular_jqwidgets_aot_webpack
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR! /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular/npm-debug.log

    npm ERR! Darwin 16.7.0
    npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”
    npm ERR! node v6.11.4
    npm ERR! npm v3.10.10
    npm ERR! code ELIFECYCLE
    npm ERR! angular_jqwidgets_aot_webpack@1.0.0 start: npm run ngc && npm run build0
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the angular_jqwidgets_aot_webpack@1.0.0 start script ‘npm run ngc && npm run build0’.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the angular_jqwidgets_aot_webpack package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! npm run ngc && npm run build0
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs angular_jqwidgets_aot_webpack
    npm ERR! Or if that isn’t available, you can get their info via:
    npm ERR! npm owner ls angular_jqwidgets_aot_webpack
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR! /Users/someuser/Desktop/workspace/tmp/jqwidgets-ver5.5.0/demos/angular/npm-debug.log
    somecomp:angular someuser$

    Can't seem to get the demo angular to work #97849

    Ivo Zhulev
    Participant

    Hi timhortons,

    demos/angular is not meant to be built. Read the getting started docs:
    https://www.jqwidgets.com/angular-components-documentation/documentation/angular/angular.htm

    I suggest you use the create-jqwidgets-angular-app.

    Best Regards,
    Ivo

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

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

You must be logged in to reply to this topic.