diff --git a/lib/post_install.js b/lib/post_install.js
index <HASH>..<HASH> 100644
--- a/lib/post_install.js
+++ b/lib/post_install.js
@@ -11,6 +11,7 @@ function exec(command) {
 
 stat('dist-modules', function(error, stat) {
   if (error || !stat.isDirectory()) {
+    exec('npm i babel');
     exec('npm run dist-modules');
   }
 });
Install Babel before trying to generate `dist-modules`

Otherwise it will rely on global Babel...