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

I can't use expose... #339

Closed
astralmd opened this issue Aug 8, 2022 · 3 comments
Closed

I can't use expose... #339

astralmd opened this issue Aug 8, 2022 · 3 comments

Comments

@astralmd
Copy link

astralmd commented Aug 8, 2022

When I try to start expose with "expose share-port 1010" I'm getting this error:
Screenshot : https://imgur.com/a/8kxvvBd

[2022-08-08 16:41:54] production.ERROR: Object of class stdClass could not be converted to string {"exception":"[object] (Error(code: 0): Object of class stdClass could not be converted to string at phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/illuminate/console/Concerns/InteractsWithIO.php:295) [stacktrace] #0 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/illuminate/console/Concerns/InteractsWithIO.php(282): App\Logger\Logger->line() #1 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/app/Client/Client.php(188): App\Logger\Logger->info() #2 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(123): App\Client\Client->App\Client\{closure}() #3 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/app/Client/Connections/ControlConnection.php(37): App\Client\Connections\ControlConnection->emit() #4 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(123): App\Client\Connections\ControlConnection->App\Client\Connections\{closure}()#5 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/ratchet/pawl/src/WebSocket.php(72): Ratchet\Client\WebSocket->emit() #6 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/ratchet/rfc6455/src/Messaging/MessageBuffer.php(248): Ratchet\Client\WebSocket->Ratchet\Client\{closure}() #7 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/ratchet/rfc6455/src/Messaging/MessageBuffer.php(194): Ratchet\RFC6455\Messaging\MessageBuffer->processData() #8 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(123): Ratchet\RFC6455\Messaging\MessageBuffer->onData() #9 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/react/stream/src/Util.php(71): Evenement\EventEmitter->emit() #10 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(123): React\Stream\Util::React\Stream\{closure}() #11 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/react/stream/src/DuplexResourceStream.php(196): Evenement\EventEmitter->emit() #12 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/react/event-loop/src/StreamSelectLoop.php(246): React\Stream\DuplexResourceStream->handleData() #13 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/react/event-loop/src/StreamSelectLoop.php(213): React\EventLoop\StreamSelectLoop->waitForStreamActivity() #14 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/app/Client/Factory.php(203): React\EventLoop\StreamSelectLoop->run() #15 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/app/Commands/SharePortCommand.php(26): App\Client\Factory->run() #16 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/illuminate/container/BoundMethod.php(36): App\Commands\SharePortCommand->handle() #17 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/illuminate/container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #18 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure() #19 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod() #20 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/illuminate/container/Container.php(653): Illuminate\Container\BoundMethod::call() #21 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/illuminate/console/Command.php(136): Illuminate\Container\Container->call() #22 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/symfony/console/Command/Command.php(298): Illuminate\Console\Command->execute() #23 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/illuminate/console/Command.php(121): Symfony\Component\Console\Command\Command->run() #24 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/symfony/console/Application.php(1024): Illuminate\Console\Command->run() #25 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand() #26 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun() #27 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/illuminate/console/Application.php(94): Symfony\Component\Console\Application->run() #28 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/laravel-zero/foundation/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Console\Application->run() #29 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/vendor/laravel-zero/framework/src/Kernel.php(91): Illuminate\Foundation\Console\Kernel->handle() #30 phar://C:/Users/furkc/AppData/Roaming/Composer/vendor/beyondcode/expose/builds/expose/expose(46): LaravelZero\Framework\Kernel->handle() #31 C:\Users\furkc\AppData\Roaming\Composer\vendor\beyondcode\expose\builds\expose(14): require('...') #32 C:\Users\furkc\AppData\Roaming\Composer\vendor\bin\expose(120): include('...') #33 {main} "} In InteractsWithIO.php line 295: Object of class stdClass could not be converted to string

@astralmd
Copy link
Author

astralmd commented Aug 8, 2022

I tried with PowerShell as well.

@astralmd
Copy link
Author

astralmd commented Aug 8, 2022

I solve with installing old version of php but now expose says "You are using Expose v1" but I'm using version 2.2.3.
https://imgur.com/a/LBu2BFn

@brenjt
Copy link

brenjt commented Aug 16, 2024

I am having this same issue with version 2.6.2. Please fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants