Skip to content

THE TOOL IS BROKEN 😭 !! #29

Closed
Closed
@co-valtira

Description

@co-valtira
  1. when I clone the code from the repo and run ./build.sh i get this error:
    [Symfony\Component\Console\Exception\CommandNotFoundException]
    Command "build" is not defined. because this block of code doesn't work in bash script : php -d phar.readonly=off "$(command -v phar-composer.phar)" build .

  2. when I simply run progpilot /path/to/code.php after downloading the lates release this error is thrown on my mac:
    Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in phar:///Users/$USER/progpilot_v0.8.0.phar/vendor/nikic/php-parser/lib/PhpParser/Parser/Php5.php on line 2623

  3. I spun up an AWS ec2 instance with 60gig ram and after working through dependency issues and all kinds of errors this is the final error it throws:
    PHP Notice: Undefined offset: 0 in phar:///usr/local/bin/progpilot/vendor/progpilot/package/src/progpilot/Analysis/ResolveDefs.php on line 559
    PHP Notice: Undefined offset: 0 in phar:///usr/local/bin/progpilot/vendor/progpilot/package/src/progpilot/Analysis/ResolveDefs.php on line 559
    PHP Notice: Undefined offset: 0 in phar:///usr/local/bin/progpilot/vendor/progpilot/package/src/progpilot/Analysis/ResolveDefs.php on line 559
    PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in phar:///usr/local/bin/progpilot/vendor/progpilot/package/src/progpilot/Objects/MyFunction.php on line 82

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions