bitfumes / laravel-packer

Awesome Command Line Tool for speeding up your package creation.
MIT License
440 stars 44 forks source link

packr make:migration issue #38

Closed jbajou closed 3 years ago

jbajou commented 3 years ago

Hello,

when running:

~/.composer/vendor/bin/packr make:migration CreateBookingTransactionsTable

I have a message saying the migration file is created, but it is not and it corrupts packr:

PHP Warning:  require(phar://box-auto-generated-alias-4c1a5a1c655f.phar/.box/bin/check-requirements.php): failed to open stream: phar error: internal corruption of phar "/Users/myuser/.composer/vendor/bitfumes/laravel-packer/builds/packr" (actual filesize mismatch on file ".box/bin/check-requirements.php") in /Users/myuser/.composer/vendor/bitfumes/laravel-packer/builds/packr on line 12

Warning: require(phar://box-auto-generated-alias-4c1a5a1c655f.phar/.box/bin/check-requirements.php): failed to open stream: phar error: internal corruption of phar "/Users/myuser/.composer/vendor/bitfumes/laravel-packer/builds/packr" (actual filesize mismatch on file ".box/bin/check-requirements.php") in /Users/myuser/.composer/vendor/bitfumes/laravel-packer/builds/packr on line 12
PHP Fatal error:  require(): Failed opening required 'phar://box-auto-generated-alias-4c1a5a1c655f.phar/.box/bin/check-requirements.php' (include_path='.:/usr/local/Cellar/php/7.4.9/share/php/pear') in /Users/myuser/.composer/vendor/bitfumes/laravel-packer/builds/packr on line 12

Fatal error: require(): Failed opening required 'phar://box-auto-generated-alias-4c1a5a1c655f.phar/.box/bin/check-requirements.php' (include_path='.:/usr/local/Cellar/php/7.4.9/share/php/pear') in /Users/myuser/.composer/vendor/bitfumes/laravel-packer/builds/packr on line 12

Any idea would be appreciated.

Thanks

sarthaksavvy commented 3 years ago

Not able to replicate the error

Try updating the package

David-Kurniawan commented 3 years ago

Confirmed, i've same problem