T
T
Taras Labiak2016-09-22 22:06:07
JavaScript
Taras Labiak, 2016-09-22 22:06:07

Why doesn't Meteor start in production?

After creating a package and adding a few packages, I built a production server

meteor build --directory ~/src/build-meteor --server=http://localhost:3000

Then I went to ~/src/build-meteor/bundle/programs/serverrun npm install --productionand ~/src/build-meteor/bundlerun
export ROOT_URL=http://localhost:3000
node main.js

But http://localhost:3000nothing opens.
At the same time, meteor run --production works
OS: Mac OS X

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question