beyondcode / beyondcode/invoker-community

Failed to open stream: phar error: internal corruption

Open
#370 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
76
Forks
1
PR merge metrics
No merged PRs in 30d

Description


------
**OS**: darwin
**Invoker Version**: 2.13.2
**Laravel Version**: 10.33.0
**Local project**: true
**PHP Binary**: /usr/local/bin/php
**Route**: /project/index?class=App%5CModels%5CProperties%5CProperty&time=1700838963492&project=local-7Ad1XAxpXokWzznMBxakkb

**Error**:
```
ErrorException

include(phar:///tmp/invoker.phar/vendor/composer/../../src/ActionInvoker.php): Failed to open stream: phar error: internal corruption of phar "/tmp/invoker.phar" (actual filesize mismatch on file "src/ActionInvoker.php")

at vendor/composer/ClassLoader.php:576
572▕ * @param string $file
573▕ * @return void
574▕ */
575▕ self::$includeFile = \Closure::bind(static function($file) {
➜ 576▕ include $file;
577▕ }, null, null);
578▕ }
579▕ }
580▕

+2 vendor frames 

3 phar:///tmp/invoker.phar/invoker.php:15
Composer\Autoload\ClassLoader::loadClass()
4 /tmp/invoker.phar:12
```

I'm getting this error when opening a local project, I'm using Laravel Sail and PHP8.1.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.