I user meteor build. I untar the package and do npm install --production in the server directory. One of the modules I use on server side is always missing: geoip-lite.
It is referred to like this
mport { Meteor } from 'meteor/meteor';
import { postalcodesCollection } from '../collections/postalcodes.js';
import geoip from "geoip-lite";
// Returns
// {
// range: [ 1754831872, 1754832127 ],
// country: 'US',
// region: 'TX',
// eu: '0',
// timezone: 'America/Chicago',
// city: 'Graham',
// ll: [ 33.0951, -98.5923 ],
// metro: 627,
// area: 50
// }
export const ipLookup = (ip) => geoip.lookup(ip);
And it works fine if I manually install the module after npm install. But why do I have to do it for this and not the others?