This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
SyntaxError: Unexpected token = #252
Labels
Comments
What
|
I'm getting this also, my node version is 4.2.6 |
@msisco the latest LTS is 6.x and latest is 8.x, could you install a newer version of nodejs and try again? |
Awesome! Fixed after installing 8.x |
Got the same error with nodejs 4, should we implement a version check? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
zenbot backfill poloniex.BTC-USDT
/home/user/zenbot/node_modules/bitfinex-api-node/index.js:11
constructor (apiKey, apiSecret, opts = { version: 1, transform: false }) {
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/home/user/zenbot/extensions/exchanges/bitfinex/exchange.js:1:75)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
The text was updated successfully, but these errors were encountered: