./node_modules/db-migrate/bin/db-migrate -e circleci --config database.json.sample up
[ERROR] SyntaxError: Unexpected token :
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:387:25)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.exports.load (/..../node_modules/db-migrate/lib/config.js:22:14)
at loadConfig (/..../node_modules/db-migrate/bin/db-migrate:117:12)
at run (/..../node_modules/db-migrate/bin/db-migrate:319:7)
Using "version": "0.9.23" according to package.json with node 4.4.
It works again when I do cp database.json.sample database.sample.json and re-run the command with the new config.
I double checked the json file it is not malformed.