Meteor 1.4: App not running


#1

I’ve deployed my app via pm2-meteor and get the following error after trying to start the app:

app-0 TypeError: Cannot read property 'slice' of null
app-0     at packages/meteor/url_server.js:11:1
app-0     at packages/meteor/url_server.js:19:1
app-0     at /opt/pm2-meteor/app/app/bundle/programs/server/packages/meteor.js:1365:3
app-0     at /opt/pm2-meteor/app/app/bundle/programs/server/boot.js:297:10
app-0     at Array.forEach (native)
app-0     at Function._.each._.forEach (/opt/pm2-meteor/app/app/bundle/programs/server/node_modules/underscore/underscore.js:79:11)
app-0     at /opt/pm2-meteor/app/app/bundle/programs/server/boot.js:133:5

Any idea what’s going wrong? I’ve deployed via MacOS to Ubuntu 16.04 with --architecture os.linux.x86_64 flag.


#2

Sounds like an issue with your ROOT_URL:

Are you sure it’s set properly?


#3

Yep, you are right. I had a typo within my url.