I am attempting to upgrade to firstname.lastname@example.org from email@example.com. Development with
meteor run works fine. I am getting the following stack trace when running the bundle-visualizer:
$ meteor run --extra-packages bundle-visualizer --production ... ~/.meteor/packages/standard-minifier-js/.188.8.131.52yx4gsm.sv6v++os+web.browser+web.browser.legacy+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babel-plugin-minify-mangle-names/lib/scope-tracker.js:47:34: unknown: Cannot read property 'add' of undefined while minifying dynamic/node_modules/pdfjs-dist/build/pdf.js at ScopeTracker.addReference ...
This seems to be a pretty low-level babel error that resurfaces from time to time as seen in the issue tracker of the babel/minify github repo.
If I remove all
import pdfjs from 'pdfjs-dist'; lines (there is only one in this project) the error goes away.
Here is the PR after which the error occurs: Upgrade Meteor to v2.3 by make-github-pseudonymous-again · Pull Request #316 · infoderm/patients · GitHub