kdechant / angular2-http-demo Goto Github PK
View Code? Open in Web Editor NEWDemo application showing how to use the Http service and Observables in Angular 2
Demo application showing how to use the Http service and Observables in Angular 2
Hi
Thanks for the code, and sharing support . But its a async ajax request. How to update the data model back to server ( using POST / websocket) and keep consistency ?
-Raje
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/bin/npm', 'run', 'lite' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink /usr/bin/node
5 verbose run-script [ 'prelite', 'lite', 'postlite' ]
6 info lifecycle [email protected]prelite: [email protected]prelite: no script for prelite, continuing
7 silly lifecycle [email protected]
8 info lifecycle [email protected]lite: [email protected]lite: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]
10 verbose lifecycle [email protected]lite: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/ajith/Documents/dont knw/angular2-http-demo/node_modules/.bin:/usr/bin:/usr/lib/node_modules/npm/bin/node-gyp-bin:/home/ajith/Documents/dont knw/angular2-http-demo/node_modules/.bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/gameslite: CWD: /home/ajith/Documents/dont knw/angular2-http-demo
11 verbose lifecycle [email protected]
12 silly lifecycle [email protected]lite: Args: [ '-c', 'lite-server' ]lite: Returned: code: 1 signal: null
13 silly lifecycle [email protected]
14 info lifecycle [email protected]~lite: Failed to exec lite script
15 verbose stack Error: [email protected] lite: lite-server
15 verbose stack Exit status 1
15 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
15 verbose stack at EventEmitter.emit (events.js:110:17)
15 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
15 verbose stack at ChildProcess.emit (events.js:110:17)
15 verbose stack at maybeClose (child_process.js:1019:16)
15 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1091:5)
16 verbose pkgid [email protected]
17 verbose cwd /home/ajith/Documents/dont knw/angular2-http-demo
18 error Linux 4.2.0-34-generic
19 error argv "node" "/usr/bin/npm" "run" "lite"
20 error node v0.12.12
21 error npm v3.8.2
22 error code ELIFECYCLE
23 error [email protected] lite: lite-server
23 error Exit status 1
24 error Failed at the [email protected] lite script 'lite-server'.
24 error Make sure you have the latest version of node.js and npm installed.
24 error If you do, this is most likely a problem with the angular2-http-demo package,
24 error not with npm itself.
24 error Tell the author that this fails on your system:
24 error lite-server
24 error You can get information on how to open an issue for this project with:
24 error npm bugs angular2-http-demo
24 error Or if that isn't available, you can get their info via:
24 error npm owner ls angular2-http-demo
24 error There is likely additional logging output above.
25 verbose exit [ 1, true ]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.