The Application is described in -
http://www.phloxblog.in/real-time-data-update-angular-js-node-js-socket-io/
The Application is described in -
http://www.phloxblog.in/real-time-data-update-angular-js-node-js-socket-io/
So launching the app with node server.js I got the message in the console :
info - socket.io started
All good I say and open the app in my Chrome at localhost:8001. Once I click on the test link all hell breaks loose in the console :
events.js:141 throw er; // Unhandled 'error' event ^
and below :
Error: write after end at ServerResponse.OutgoingMessage.write (_http_outgoing.js:430:15) at C:\....\NodeSocketIO\server.js:84:21 at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
Thats all and exists the app
downloaded dependencies from npm and tried running the application,
when i reached http://localhost:8001/test.html this error pops up
Error: write after end
at ServerResponse.OutgoingMessage.write (_http_outgoing.js:413:15)
at /home/led/Workspace/NodeSocketIO-master/server.js:84:21
at fs.js:334:14
at FSReqWrap.oncomplete (fs.js:95:15)
When I checkout the code and run it with node server.js
I'm getting this error:
module.js:340
throw err;
^
Error: Cannot find module '../bin/builder'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at object.module.io (/Users/daryde/workspaces/node/NodeSocketIO/node_modules/socket.io/node_modules/socket.io-client/lib/io.js:156:18)
at Object. (/Users/daryde/workspaces/node/NodeSocketIO/node_modules/socket.io/node_modules/socket.io-client/lib/io.js:206:3)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
Any idea about how I can run the code?
I'm using node version v0.8.18 and npm version 1.2.2.
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.