Why are my meteor settings not being passed to the application? -


set meteor_settings={"public": {"stage": "development"}} meteor 

then line:

console.log(meteor.settings.public.stage); 

causes error:

w20150612-20:45:38.338(-7)? (stderr) typeerror: cannot read property 'stage' of undefined 

what doing wrong?

from understand environment variable deployment mode (running bundle).

in development, i.e., when running meteor, need use --settings command line parameter specify file containing settings.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -