meteorhacks / npm

Complete NPM integration for Meteor
http://meteorhacks.com/complete-npm-integration-for-meteor.html
MIT License
509 stars 43 forks source link

SyntaxError: Use of const in strict mode #131

Open tahaykNSM opened 8 years ago

tahaykNSM commented 8 years ago

Hello I used the meteorhacks:npm many times and it is very amazing, but I have tried to use it with the download package and I got this error:

[my project dir]/.meteor/local/isopacks/npm-container/npm/node_modules/download/index.js:2
W20160524-15:14:32.964(1)? (STDERR) const fs = require('fs');
W20160524-15:14:32.965(1)? (STDERR) ^^^^^
I20160524-15:14:32.979(1)? Exception while invoking method 'download' { stack: 'SyntaxError: Use of const in strict mode.\n

is there any way to fix it ?