@dleshem, I've been able to successfully transpile the ES6 code dynamically with Babilon by following the guide at https://leanpub.com/setting-up-es6/read#sec_nodejs-babel-dynamic (as suggested in #1).
I've modified the code in "BookDownloadData.js" to specify the book to download and I've run sudo babel-node src/BookDownloader. The command runs successfully but nothing seems happening.
This is the full stack I've run on terminal:
sudo npm freemazon
cd /usr/local/lib/node_modules/freemazon
sudo npm install
sudo babel-node src/BookDownloader
Where am I wrong?
@dleshem, I've been able to successfully transpile the ES6 code dynamically with Babilon by following the guide at https://leanpub.com/setting-up-es6/read#sec_nodejs-babel-dynamic (as suggested in #1).
I've modified the code in "BookDownloadData.js" to specify the book to download and I've run
sudo babel-node src/BookDownloader. The command runs successfully but nothing seems happening.This is the full stack I've run on terminal:
sudo npm freemazoncd /usr/local/lib/node_modules/freemazonsudo npm installsudo babel-node src/BookDownloaderWhere am I wrong?