bannertime / generator-bannertime

Yeoman generator to help build and manage HTML5 banner campaigns.
https://bannertime.github.io/
58 stars 35 forks source link

fix: Can't re download a external vendor scripts on :copy #118

Closed meezyart closed 6 years ago

meezyart commented 6 years ago

getting this error message

Include vendor scripts for offline use? Yes events.js:167 throw er; // Unhandled 'error' event ^

TypeError: Download is not a constructor at Bannertime.files (/usr/local/lib/node_modules/generator-bannertime/generators/new/modules/files.js:162:5) at Object. (/usr/local/lib/node_modules/generator-bannertime/node_modules/yeoman-generator/lib/index.js:399:25) at /usr/local/lib/node_modules/generator-bannertime/node_modules/run-async/index.js:25:25 at new Promise ()

joemidi commented 6 years ago

Sorry about that, it looks like we swapped out the Download package with a newer one and forgot to update the script in the copy generator.