Reputation: 11
I get this error when trying to launch an IOS/ Android app in Meteor how can I solve it?
Running two copies of Meteor in the same application directory will not work. If something else is using port 3000, you can specify an alternative port with --port .
Upvotes: 1
Views: 1644
Reputation: 386
This is because of may be running two copies of Meteor in the same application.
So need to kill the process of node or run in different port for the application
killall node
meteor --port 3030
Upvotes: 1
Reputation: 30493
In my experience this happens for a couple of reasons; either you have two copies of Meteor running, or you have orphaned a copy of Meteor (e.g. by closing the command prompt or shell you started it from) and it is still running in the background.
If you have two copies running you can force Meteor to use a different port with the --port
parameter when you launch meteor, e.g. meteor --port 5005
.
If you have orphaned an instance of Meteor you will need to kill the node instance that's running it - this question explains how to stop node instances.
Upvotes: 0