[ERROR] Error: Environment(s) '' not found.
at Config.exports.setCurrent (D:\projects\dg\sso-service\node_modules\db-migrate\lib\config.js:23:11)
at Object.exports.loadObject (D:\projects\dg\sso-service\node_modules\db-migrate\lib\config.js:183:11)
at Object.exports.loadFile (D:\projects\dg\sso-service\node_modules\db-migrate\lib\config.js:94:18)
at loadConfig (D:\projects\dg\sso-service\node_modules\db-migrate\lib\commands\helper\load-config.js:12:18)
at new dbmigrate (D:\projects\dg\sso-service\node_modules\db-migrate\api.js:77:43)
at Object.module.exports.getInstance (D:\projects\dg\sso-service\node_modules\db-migrate\index.js:85:10)
at D:\projects\dg\sso-service\node_modules\db-migrate\bin\db-migrate:32:25
at D:\projects\dg\sso-service\node_modules\resolve\lib\async.js:142:25
at maybeRealpath (D:\projects\dg\sso-service\node_modules\resolve\lib\async.js:50:9)
at D:\projects\dg\sso-service\node_modules\resolve\lib\async.js:138:24
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I'm submitting a...
Current behavior
Default value for property
defaultEnv
is not readExpected behavior
If the env variable is not declared use the
default
valueMinimal reproduction of the problem with instructions
With this configuration
I run:
db-migrate --config ./database-creation.json db:create sso
Return a exit code 1 with this error:
Environment