process.env.METEOR_SHELL_DIR undefined?


#1

Hi,

When doing development (Windows 10) i’m defining path like this:

var path = process.env.METEOR_SHELL_DIR + './../../../assets/app/uploads/';

But when deploying to server I get error that process.env.METEOR_SHELL_DIR is undefined. Why its undefind when deployed? I’m using MUP to deploy.


#2

Nevermind, leading dot './../../../assets/app/uploads/'; was too much here