Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash during install #67

Open
matronator opened this issue Jan 31, 2024 · 1 comment
Open

Crash during install #67

matronator opened this issue Jan 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@matronator
Copy link

Description

It crashed during the project creation.

Steps to reproduce

  1. Run the composer command
  2. Answer the questions
  3. Profit

Expected behavior

Run without crashing

Screenshots or output



 [ERROR] The command "'composer' 'dev:test:all'" failed.

         Exit Code: 254(Unknown error)

         Working directory: /Users/matronator/Documents/Work/dev.nosync/ormtr

         Output:
         ================

         Executing lint:syntax
         Unable to execute '/Users/matronator/Library/Application Support/Herd/bin/php83'.

         Executing lint:style
         ... 3 / 3 (100%)


         Time: 84ms; Memory: 10MB


         Executing analyze:phpstan


          [OK] No errors



         Executing analyze:psalm
         ------------------------------

                No errors found!

         ------------------------------

         Checks took 3.09 seconds and used 96.783MB of memory
         Psalm was able to infer types for 100% of the codebase

         Executing test:unit
         PHPUnit 10.5.9 by Sebastian Bergmann and contributors.

         Runtime:       PHP 8.3.0
         Configuration: /Users/matronator/Documents/Work/dev.nosync/ormtr/phpunit.xml.dist

         .                                                                   1 / 1 (100%)

         Time: 00:00.008, Memory: 8.00 MB

         OK (1 test, 1 assertion)


         Error Output:
         ================
         Note: Using configuration file /Users/matronator/Documents/Work/dev.nosync/ormtr/phpstan.neon.dist.
 3/3
         [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

         Target PHP version: 8.1 (inferred from composer.json).
         Scanning files...
         Analyzing files...

         ░


         At line 272 in phar:///usr/local/bin/composer/vendor/symfony/process/Process.php

Environment details

  • version of this package: 3.5.4
  • PHP version: 8.3
  • OS: macOS Ventura (13.4)

Additional context

@matronator matronator added the bug Something isn't working label Jan 31, 2024
@ramsey
Copy link
Owner

ramsey commented Apr 27, 2024

This looks like it's found PHP at /Users/matronator/Library/Application Support/Herd/bin/php83 and is attempting to execute it, but it cannot:

Unable to execute '/Users/matronator/Library/Application Support/Herd/bin/php83'

This is occurring during the composer dev:lint:syntax stage.

Does this php83 file exist, and is it executable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants