Comments (6)
@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.
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.
@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.
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.
@halftan yes, somewhy it's down, updated manually, will check settings
from padawan.php.
Works now, thanks.
from padawan.php.
Related Issues (20)
- `update` command cause `File not found` error. HOT 3
- i can generate index , but cant't most is 0 function HOT 4
- Use it and look forward to perfecting it HOT 1
- Memory Leak HOT 1
- Padawan crashes when generating index for fzaninotto/faker HOT 5
- Are traits supported? HOT 2
- Cannot execute the command padawan in terminal HOT 3
- Use a folder as reference for everything HOT 12
- Fatal error HOT 2
- FQCN.php doesn't check if countable HOT 3
- No autocomplete when accessing method/property on new line
- Add --help text to padawan and padawan-server commands HOT 5
- Returns only completions being already used in this file HOT 23
- NodeTypeResolver failed to resolve correct variable type when it's surrounded by parenthesis
- No completion, connect to padawan-server timeout, possibly related with reactphp/http HOT 3
- php 7.1 HOT 7
- Error about nikic/php-parser when installing HOT 5
- Error when trying to use the master branch HOT 1
- Fatal error occurs when send "kill" command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from padawan.php.