gimenete / dbdiff

Compares two postgresql or mysql databases and prints SQL commands to modify the first one in order to match the second one
MIT License
131 stars 36 forks source link

Anable to launch ! #19

Closed Mounirsky closed 6 years ago

Mounirsky commented 6 years ago

dbdiff --help /usr/local/lib/node_modules/dbdiff/dbdiff.js:6 class DbDiff { ^^^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:374:25) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Module.require (module.js:354:17) at require (internal/module.js:12:17) at Object. (/usr/local/lib/node_modules/dbdiff/index.js:3:31) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10)

gimenete commented 6 years ago

Upgrade your Node.js version

Mounirsky commented 6 years ago

node --version v4.2.6

Mounirsky commented 6 years ago

It seems ok with v9.5.0 node version. Thanks