Giter Site home page Giter Site logo

Comments (6)

halftan avatar halftan commented on July 22, 2024

@pbogut Seems like it's related with PHP-DI. Which version of PHP-DI are you using? and if you could get backtrace of this error, please paste it here.

from padawan.php.

pbogut avatar pbogut commented on July 22, 2024

I've installed Padawah 0.2.1 by mistake, sorry.

With master I have different error:

PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function React\Socket\Server::__construct(), 1 passed in /home/pbogut/padawan/vendor/mkusher/padawan/bin/padawan-server on line 70 and at least 2 expected in /home/pbogut/padawan/vendor/react/socket/src/Server.php:127
Stack trace:
#0 /home/pbogut/padawan/vendor/mkusher/padawan/bin/padawan-server(70): React\Socket\Server->__construct(Object(React\EventLoop\StreamSelectLoop))
#1 /home/pbogut/padawan/vendor/mkusher/padawan/bin/padawan-server(37): runServer()
#2 {main}
  thrown in /home/pbogut/padawan/vendor/react/socket/src/Server.php on line 127
Fatal error: Uncaught ArgumentCountError: Too few arguments to function React\Socket\Server::__construct(), 1 passed in /home/pbogut/padawan/vendor/mkusher/padawan/bin/padawan-server on line 70 and at least 2 expected in /home/pbogut/padawan/vendor/react/socket/src/Server.php:127
Stack trace:
#0 /home/pbogut/padawan/vendor/mkusher/padawan/bin/padawan-server(70): React\Socket\Server->__construct(Object(React\EventLoop\StreamSelectLoop))
#1 /home/pbogut/padawan/vendor/mkusher/padawan/bin/padawan-server(37): runServer()
#2 {main}
  thrown in /home/pbogut/padawan/vendor/react/socket/src/Server.php on line 127

I've installed it from composer.json

{
    "minimum-stability": "dev",
    "require": {
        "mkusher/padawan": "dev-master"
    }
}

So to reproduce create composer.json with content above in the empty directory. Run composer install and then try to ./vendor/bin/padawan-server.

from padawan.php.

halftan avatar halftan commented on July 22, 2024

@pbogut This has been fixed with #102. Please wait for packagist to refresh padawan's dev-master and run composer update and try again.

Packagist haven't reloaded the latest commits yet.

from padawan.php.

halftan avatar halftan commented on July 22, 2024

Wait a second, is it possible that packagist's service hook is down? @mkusher please take a look at repo's service hook.

from padawan.php.

mkusher avatar mkusher commented on July 22, 2024

@halftan yes, somewhy it's down, updated manually, will check settings

from padawan.php.

pbogut avatar pbogut commented on July 22, 2024

Works now, thanks.

from padawan.php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.