I have an npm package I published to assist with Galaxy maintenance periods. It’s not working, though. I get the following error on the server side:
W20170118-21:20:52.753(-8)? (STDERR) Error: Cannot find module 'meteor/mongo'
W20170118-21:20:52.754(-8)? (STDERR) at Function.Module._resolveFilename (module.js:325:15)
W20170118-21:20:52.754(-8)? (STDERR) at Function.Module._load (module.js:276:25)
W20170118-21:20:52.754(-8)? (STDERR) at Module.require (module.js:353:17)
W20170118-21:20:52.754(-8)? (STDERR) at require (internal/module.js:12:17)
W20170118-21:20:52.755(-8)? (STDERR) at Object.<anonymous> (/private/tmp/work/whoa/node_modules/meteor-galaxy-helpers/dist/collections/galaxy-status.js:8:14)
Seems strange that import { Mongo } from 'meteor/mongo'
would fail. Why is this happening?