envone / ember-runner

EmberJS preview and build tool for Node.JS
MIT License
50 stars 6 forks source link

Error: listen EADDRINUSE #46

Closed lukaiser closed 11 years ago

lukaiser commented 11 years ago

When I try to run ember-runner preview I get the following message:

[task:checkConfig] Started
[task:configure] Started
[task:clean] Started
[vendors] Started
[apps] Started
[ 'ember' ]
[task:checkPackages] Started
[task:walk] Started
[build] Started
[Build] Package: handlebars
[Build] Package: ember
[Build] Package: ember-data
[Build] Package: dixer
[ 'ember' ]
[TEMPLATES] Building templates for: ember
[ 'ember' ]
[TEMPLATES] Building templates for: dixer
[watch] Started
[preview] Started
-- Task finished succesfully
ember-runner [0.1.30] Running in preview mode on port: 3000.
[preview] Started
-- Task finished succesfully
ember-runner [0.1.30] Running in preview mode on port: 3000.

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EADDRINUSE
    at errnoException (net.js:863:11)
    at Server._listen2 (net.js:1008:14)
    at listen (net.js:1030:10)
    at Server.listen (net.js:1096:5)
    at run (/usr/local/lib/node_modules/ember-runner/lib/server.js:25:17)
    at runServer (/usr/local/lib/node_modules/ember-runner/lib/packages.js:982:23)
    at runner.task.pm.build.distInfos [as action] (/usr/local/lib/node_modules/ember-runner/index.js:19:6)
    at /usr/local/lib/node_modules/ember-runner/lib/runner.js:70:21
    at /usr/local/lib/node_modules/ember-runner/node_modules/async/lib/async.js:131:25
    at /usr/local/lib/node_modules/ember-runner/index.js:26:5

All the files are built and there is definitely nothing else listening on port 3000. sudo lsof -i TCP:3000 | grep LISTEN returns noting.

Whats wrong and what can I do?

Tanks a lot!

PS: Sorry if this is the wrong place, but I haven't found any suppor forum.

envone commented 11 years ago

Hi, here is the place... I have this error before, and I think it was solved, which version of ember-runner are you running, the latest is 0.1.32, please check it before.

lukaiser commented 11 years ago

Perfect! It did the job. Now everything is working fine. Thanks!