Prevent meteor load packages

I have a meteor application on my laptop (where I am developing the application), and I would like to be able to work with it and / or give demos in situations where I do not have an Internet connection.

How can I prevent a meteorite from automatically trying to download package updates at startup so that I can run my application without problems in a "stand-alone" situation?

Please note that this is different from the fact that the client (browser) is "standalone" in the sense that it cannot connect to the server. In this situation, the client and server are on the same machine, and the client has access to the server. But the machine is disconnected from the Internet, so attempts to automatically download package updates will at least be delayed, if not errors, and I would like to prevent this.

+4
source share
1 answer

Use METEOR_OFFLINE_CATALOGenvironment var for this. But I suggest not to install it permanently, but to use it once.

So, if you launch a meteorite as follows: METEOR_OFFLINE_CATALOG=1 meteorit should not update meteor packages or releases.

+6
source

Source: https://habr.com/ru/post/1623005/


All Articles