[Solved] Meteor 1.6 / 1.7 on Windows explorer - transpilation issue


My Meteor site isn’t running under Windows 7 on either Meteor 1.6 or (having just upgraded) 1.7.

The console shows a syntax error on this line at the new style function syntax:

module.exports = options => {

Note that this is in a module node_modules/email-regex/index.js

After that, I get this in another file (presumable because the previous error has stopped stuff loading).

Unable to get property 'meteorInstall' of undefined or null reference

It seems to me that Meteor isn’t transpiling the email-regex module. There may well be others too. Is there anything I can do?

I’m guessing you’ve been bitten by the “npm package developer not caring about old browsers” issue.

Fortunately, you can do something about in Meteor 1.7. Read the 1.7 Release Notes, particularly the section beginning:

Although Meteor does not recompile packages installed in node_module by default, compilation of specific npm packages (for example, to support older browsers that the package author neglected) can now be enabled in one of two ways:


Thank you! That’s solved my issue.

1 Like