I have some problems with the application running meteor bundle on MacOS and Linux ubuntu.
I create bundle follows command
$ meteor build ./foldera
after that, I extracted data from bundle.tar and installed all npm modules.
And when I try run meteor app
$ METEOR_ENV=production MONGO_URL=mongodb://127.0.0.1:27017/dbname ROOT_URL=http://localhost node main.js
Nothing happened. This process hangs forever.
How can I debug this case?
Meteor 220.127.116.11, node 0.10.41, MacOS 10.11.5, Ubuntu 14.04, CentOS 7.
If I running meteor app from source code, all works pretty well!
If you’re testing this locally maybe double check your ROOT_URL setting. Are you sure you want it to be “http://localhost” which means use a default port of 80? Unless you’re starting your node process as root (or a high privileged user) you won’t be able to bind to port 80 (or any port below 1024).
I encountered the similar problem, I use export ROOT_URL=‘http://18.104.22.168’, 22.214.171.124 is a fake ip address. I use real ip address for my app. Then I run ‘node main.js’, but nothing happens. I can’t access my app from browser. Have you solved the problem?
ROOT_URL=http:HTTP:\localhost:3000 : The term ‘ROOT_URL=http:HTTP:\localhost:3000’ is not recognized as the name of
a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.