Open godjirax opened 8 years ago
I can confirm that bug. I wrote a npm module which I actually wanted to use with meteor. But template Strings break it.
Node itself can run it, and if I use template Strings in meteor directly they work fine as well. But importing an npm module with template string breaks the compatibility.
I have problem with npm producthunt module that i try to add in my meteor project with meteorhacks.
I can reproduce the problem with the example :
I create the file packages.json at the root of the project, with :
If i launch project with any modification, it works.
If i import the npm module in simple-todos.js (Meteor.npmRequire('producthunt')), i obtain the error:
The error occurs with the use of template string.
But, if a try to use it in simple-todos.js, it works well :
It seems that the project can execute ecmascript6 script, but not npm imported module.