commandbox-modules / commandbox-migrations

MIT License
7 stars 9 forks source link

Packageservice error #32

Closed Tropicalista closed 1 year ago

Tropicalista commented 2 years ago

I'm getting this error when trying to create a migration:

ERROR (5.4.2+00453)

variable [PACKAGESERVICE] doesn't exist

F:\CommandBox\cfml\modules\commandbox-migrations\models\BaseMigrationCommand.cfc
: line 71
69:
70:         // Check and see if box.json exists
71:         if( !packageService.isPackage( directory ) ) {
72:             return error( "File [#packageService.getDescriptorPath( director
y )#] does not exist." );
73:         }
called from F:\CommandBox\cfml\modules\commandbox-migrations\models\BaseMigratio
nCommand.cfc: line 11
called from F:\CommandBox\cfml\modules\commandbox-migrations\commands\migrate\cr
eate.cfc: line 16
called from F:\CommandBox\cfml\system\services\CommandService.cfc: line 345
called from F:\CommandBox\cfml\system\services\CommandService.cfc: line 139
called from F:\CommandBox\cfml\system\Shell.cfc: line 787
called from F:\CommandBox\cfml\system\Shell.cfc: line 607
called from F:\CommandBox\cfml\system\Bootstrap.cfm: line 160
elpete commented 1 year ago

Hi, @Tropicalista. Is this still an issue? I haven't seen or heard of this from any other users.

Tropicalista commented 1 year ago

You can close. Thanks