Closed hellzakk closed 8 years ago
The things are located at
https://github.com/meteor/meteor/search?utf8=%E2%9C%93&q=optionsForAppRunner
so it would be interesting to know, where best to set
optionsForAppRunner.recordPackageUsage = false;
@glasser @benjamn @martijnwalraven ::
Do you have any suggestion how best to proceed to prevent running recordPackageUsage
even when using checkout but offline?
I was thinking about a PR and allow some additional env var like
export RECORD_PACKAGE_USAGE=0
Thanks for some short feedback Tom
@TomFreudenberg
in ../meteor/tools/runners/run-app.js
self.recordPckageUsage = options.recordPackageUsage === undefined ? true : options.recordPackageUsage;
to
self.recordPckageUsage = options.recordPackageUsage === undefined ? false : options.recordPackageUsage;
error disappeared, but recordPackageUsage is disabled for all the project so if needed must be set to true.
Hi @hellzakk
I am not sure yet when (and from which code line) the setting is FALSE when using the official installer. Maybe it is the same issue?
@benjamn could you assist please?
If you add the package-stats-opt-out
package to your app, then meteor
will not attempt to contact the activity server.
Hi David ( @glasser )
thanks for that hint, better than any hack :-)
Cheers Tom
As guided by David,
you have to add
meteor add package-stats-opt-out
to stop collecting stats for packages.
When looking at the stats.js
file you see the declaration for the check at
and finally this is used and checked at
to prevent the stats to collect
@TomFreudenberg
Hi, when i run my project offline i got this error:
If i connect the rasp to internet and restart the project, it run without any error.