I’m having problem in using node package ccxt(crypto exchange). I managed to add the package and import/use in client side. However doing the same on server side is giving me error. I need to write the code in server side for the exchanges and use it in client. Any help would be appreciated,
This is my code in server/main.js
import ccxt from ‘ccxt’;
Error in build:
Your app is crashing. Here’s the latest log:
const Exchange = require (’./js/base/Exchange’)
SyntaxError: Use of const in strict mode.
at Function..each..forEach (D:\Meteor\myapp\node_modules\underscore\underscore.js:153:9)
Exited with code: 8
Your application is crashing. Waiting for file change.