[GH-ISSUE #1813] not working after yarn dev #1003

Closed
opened 2026-02-26 02:34:55 +03:00 by kerem · 2 comments
Owner

Originally created by @gitHub-ljrong on GitHub (Aug 16, 2024).
Original GitHub issue: https://github.com/koel/koel/issues/1813

Originally assigned to: @phanan on GitHub.

Read the Troubleshooting guide.

  • I have read and followed the Troubleshooting guide

Reproduction steps

composer install
yarn install
yarn dev

Expected behavior

yarn dev successful

Actual behavior

not working

Logs

$ yarn dev
yarn run v1.22.10
$ kill-port 8000 && start-test 'php artisan serve --port=8000 --quiet' 'http://127.0.0.1:8000/api/ping' 'vite'
Process on port 8000 killed
1: starting server using command "php artisan serve --port=8000 --quiet"
and when url "[ 'http://127.0.0.1:8000/api/ping' ]" is responding with HTTP status code 200
running tests using command "vite"

Error: Timed out waiting for: http://127.0.0.1:8000/api/ping
at /Users/lijinrong/code/test/koel/node_modules/wait-on/lib/wait-on.js:131:31
at doInnerSub (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:22:31)
at outerNext (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:17:70)
at OperatorSubscriber._this._next (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
at Subscriber.next (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
at AsyncAction.work (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/observable/timer.js:28:28)
at AsyncAction._execute (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:79:18)
at AsyncAction.execute (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:67:26)
at AsyncScheduler.flush (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js:38:33)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Koel version

latest

How did you install Koel?

Compiled from source

Additional information

No response

Originally created by @gitHub-ljrong on GitHub (Aug 16, 2024). Original GitHub issue: https://github.com/koel/koel/issues/1813 Originally assigned to: @phanan on GitHub. ### Read the Troubleshooting guide. - [X] I have read and followed the Troubleshooting guide ### Reproduction steps composer install yarn install yarn dev ### Expected behavior yarn dev successful ### Actual behavior not working ### Logs $ yarn dev yarn run v1.22.10 $ kill-port 8000 && start-test 'php artisan serve --port=8000 --quiet' 'http://127.0.0.1:8000/api/ping' 'vite' Process on port 8000 killed 1: starting server using command "php artisan serve --port=8000 --quiet" and when url "[ 'http://127.0.0.1:8000/api/ping' ]" is responding with HTTP status code 200 running tests using command "vite" Error: Timed out waiting for: http://127.0.0.1:8000/api/ping at /Users/lijinrong/code/test/koel/node_modules/wait-on/lib/wait-on.js:131:31 at doInnerSub (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:22:31) at outerNext (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:17:70) at OperatorSubscriber._this._next (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21) at Subscriber.next (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18) at AsyncAction.work (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/observable/timer.js:28:28) at AsyncAction._execute (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:79:18) at AsyncAction.execute (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:67:26) at AsyncScheduler.flush (/Users/lijinrong/code/test/koel/node_modules/wait-on/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js:38:33) at listOnTimeout (node:internal/timers:573:17) at process.processTimers (node:internal/timers:514:7) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ### Koel version latest ### How did you install Koel? Compiled from source ### Additional information _No response_
kerem closed this issue 2026-02-26 02:34:55 +03:00
Author
Owner

@phanan commented on GitHub (Aug 16, 2024):

What happens when you run php artisan serve?

<!-- gh-comment-id:2293105084 --> @phanan commented on GitHub (Aug 16, 2024): What happens when you run `php artisan serve`?
Author
Owner

@gitHub-ljrong commented on GitHub (Aug 16, 2024):

It was my fault, I haven't finished initializing the environment yet.

<!-- gh-comment-id:2293177150 --> @gitHub-ljrong commented on GitHub (Aug 16, 2024): It was my fault, I haven't finished initializing the environment yet.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1003
No description provided.