Ookma-Kyi
09/27/2022, 6:38 PMCommandBox> migrate install
ERROR (5.5.2+00578)
Invalid Syntax Closing [}] not found
\modules\commandbox-migrations\models\BaseMigrationCommand.cfc: line 88
86: // Check and see if a .cfmigrations.json file exists
87: if ( fileExists( "#directory#/.cfmigrations.json" ) ) {
88: variables.cfmigrationsInfo = deserializeJSON( fileRead( "#directory#/.cfmigrations.json" ) );
89: variables.systemSettings.expandDeepSystemSettings( variables.cfmigrationsInfo );
90: variables.cfmigrationsInfoType = "cfmigrations";
called from \modules\commandbox-migrations\models\BaseMigrationCommand.cfc: line 11
called from \modules\commandbox-migrations\commands\migrate\install.cfc: line 15
called from \system\services\CommandService.cfc: line 443
called from \system\services\CommandService.cfc: line 225
called from \system\Shell.cfc: line 819
called from \system\Shell.cfc: line 634
called from \system\Bootstrap.cfm: line 160
To enable full stack trace, run config set verboseErrors=true
I tried the following commands and neither fixed the issue:
install
migrate init
migrate install
migrate down
migrate up
Any ideas? None of the files related to migrations has been touched in awhile, so why it would have syntax errors is beyond me.bdw429s
09/27/2022, 6:42 PM.cfmigrations.json
file has invalid JSONOokma-Kyi
09/27/2022, 6:42 PMmigrate init
bdw429s
09/27/2022, 6:42 PMOokma-Kyi
09/27/2022, 6:44 PMbdw429s
09/27/2022, 6:45 PMOokma-Kyi
09/27/2022, 6:45 PMbdw429s
09/27/2022, 6:45 PMOokma-Kyi
09/27/2022, 6:47 PMbdw429s
09/27/2022, 6:51 PMOokma-Kyi
09/27/2022, 7:15 PMbdw429s
09/27/2022, 7:19 PM