Closed lucasconstantino closed 9 years ago
Thanks for reporting this, just a couple of questions...
1) What OS are your on?
2) What version of the node-seed and angular-seed are you using?
3) What modules do you have installed and what versions?
4) Try export DEBUG=*
and then running that again so we get more output
1 - My OS specifications:
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=14
DISTRIB_CODENAME=nadia
DISTRIB_DESCRIPTION="Linux Mint 14 Nadia"
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"
2 - I'm not defining a version for node-seed and angular-seed; I've just installed the latest version of cleverstack-cli (using npm install -g cleverstack-cli
) and then runned clever init <app-name>
, which I suppose would make use of the latest versions on the seeds.
3 - Do you mean node modules or CleverStack modules? I'm using none of the second, not even custom modules yet.
4 - Here goes the log after enabling DEBUG:
clever serve
Running "nodemon:web" (nodemon) task
[nodemon] v1.0.20
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node app.js`
Config No environment based config set using NODE_ENV, defaulting to "local" configuration +0ms
Master started with pid 17769 +38ms
Master NODE_PATH is "/home/lucas/www/tracker/el-tracker/backend/lib:/home/lucas/www/tracker/el-tracker/backend/modules:./tests/unit/" +1ms
Config No environment based config set using NODE_ENV, defaulting to "local" configuration +0ms
MagicModule Creating magic module for utils +63ms
MagicModule Loading bootstrapEnv into utils magic module... +4ms
express:application booting in development mode +0ms
connect:dispatcher use / query +0ms
connect:dispatcher use / expressInit +0ms
MagicModule Loading magicModule into utils magic module... +107ms
MagicModule Creating magic module for classes +0ms
MagicModule Loading Class into classes magic module... +0ms
MagicModule Loading Model into classes magic module... +18ms
MagicModule Loading modelValidator into utils magic module... +79ms
MagicModule Loading Service into classes magic module... +9ms
MagicModule Loading Controller into classes magic module... +1ms
Running "clean:server" (clean) task
MagicModule Loading uberUtil into utils magic module... +8ms
MagicModule Loading Module into classes magic module... +5ms
Running "connect:livereload" (connect) task
connect:dispatcher use / anonymous +0ms
connect:dispatcher use / anonymous +1ms
connect:dispatcher use / livereloadSnippet +1ms
connect:dispatcher use / static +0ms
connect:dispatcher use / static +0ms
connect:dispatcher use / anonymous +0ms
Worker started with pid 17771 +10ms
Worker Loading modules... +0ms
Worker Configuring express application... +1ms
Started connect web server on 127.0.0.1:9000.
connect:dispatcher use / urlencoded +144ms
connect:dispatcher use / json +2ms
Running "connect:test" (connect) task
connect:dispatcher use / anonymous +11ms
connect:dispatcher use / static +0ms
connect:dispatcher use / anonymous +0ms
Started connect web server on 127.0.0.1:9090.
connect:dispatcher use / logger +2ms
Running "connect:dist" (connect) task
connect:dispatcher use / static +6ms
connect:dispatcher use / directory +1ms
Started connect web server on 127.0.0.1:9009.
connect:dispatcher use / compress +8ms
Running "concurrent:watch" (concurrent) task
connect:dispatcher use / favicon +1ms
connect:dispatcher use / methodOverride +2ms
connect:dispatcher use / anonymous +0ms
ModuleLoader Loading modules... +18ms
Worker Initializing routes... +3ms
ModuleLoader Initializing routes... +0ms
Worker Setting up router and starting http server... +0ms
connect:dispatcher use / router +3ms
events.js:72
throw er; // Unhandled 'error' event
^
Error: bind EADDRINUSE
at errnoException (net.js:904:11)
at net.js:1084:30
at Object.1:1 (cluster.js:592:5)
at handleResponse (cluster.js:171:41)
at respond (cluster.js:192:5)
at handleMessage (cluster.js:202:5)
at process.EventEmitter.emit (events.js:117:20)
at handleMessage (child_process.js:318:10)
at child_process.js:392:7
at process.handleConversion.net.Native.got (child_process.js:91:7)
Master Worker undefined has died with code 8 and signal null - Forking new process in 1 second... +414ms
5 - I didn't know I could use export DEBUG=*
... hehe, thanks for the tip ;)
Thanks, (5) no problems, you can do export DEBUG=ModuleLoader,Modules, etc... DEBUG=* is enabling every debugger
Can you please run netstat -tulpn | grep 8080
to find out what is listening on port 8080 please?
ping @lucasconstantino
Hey, sorry.
That's my response when running netstat -tulpn | grep 8080
:
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6 0 0 :::8080 :::* LISTEN -
Edit: I have Apache running on the same machine, but I've already tried stopping it and the problem continues.
Hi
I'm experiencing an error in my terminal when running
clerve serve
. The odd thing is the program is actually working, and I can access the application on localhost:9000. I'm not sure if everything is working, but what I've tried to do works pretty fine.Anyway, I decided to let you know of there error, just in case:
It's a repeating error, which is thrown every second with a increase number at the line
at Object.3:1 (cluster.js:592:5)
(the "3").