Skip to content

Error while trying to build phar file #492

@alfhh

Description

@alfhh

Hello!!

I'm currently facing an issue while trying to build the a phar.

This is the error that I'm getting:

  The command "'./box' 'compile' '--working-dir=/Users/ahinojosa/workspace/movie-cli' '--config=/Users/ahinojosa/workspace/movie-cli/box.json'" failed.

Working directory: /Users/ahinojosa/workspace/movie-cli/vendor/laravel-zero/framework/bin

Error: proc_open(): posix_spawn() failed: No such file or directory

I faced this issue with an existing project but I also face this problem if I start a brand new project following the installation instructions.

Things that I have tried:

  • My box.json file exists and is present on the project
  • Moved all dependencies (except php) to require-dev

My guess is that I'm missing something in the setup piece, but I followed the available documentation, if there is a gap in the installation guide I'm happy to raise a PR once I get this to work.

Any guidance?
Thanks!!1

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions