[GH-ISSUE #1689] Unable to start local development using yarn dev #925

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

Originally created by @davinci-klod on GitHub (Jun 21, 2023).
Original GitHub issue: https://github.com/koel/koel/issues/1689

Describe the bug
Hi,

I can't run the "yarn dev" command to start local development.

Here's the result of the command :

BP-de-Emmanuel:davibe-dev emmanuel$ yarn dev
yarn run v1.22.18
warning ../package.json: No license field
$ kill-port 8000 && start-test 'php artisan serve --port=8000 --quiet' http-get://localhost:8000/api/ping vite
Process on port 8000 killed
1: starting server using command "php artisan serve --port=8000 --quiet"
and when url "[ 'http-get://localhost:8000/api/ping' ]" is responding with HTTP status code 200
running tests using command "vite"

Error: Timed out waiting for: http-get://localhost:8000/api/ping
    at /Users/emmanuel/Sites/davibe-dev/node_modules/wait-on/lib/wait-on.js:132:31
    at doInnerSub (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:22:31)
    at outerNext (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:17:70)
    at OperatorSubscriber._this._next (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
    at Subscriber.next (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
    at AsyncAction.work (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/observable/timer.js:28:28)
    at AsyncAction._execute (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:79:18)
    at AsyncAction.execute (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:67:26)
    at AsyncScheduler.flush (/Users/emmanuel/Sites/davibe-dev/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.

Could you help me please ?

Environment

  • Koel latest version
  • OS: macOS Ventura
  • PHP version 8
  • Node version 19.9.0
Originally created by @davinci-klod on GitHub (Jun 21, 2023). Original GitHub issue: https://github.com/koel/koel/issues/1689 **Describe the bug** Hi, I can't run the "yarn dev" command to start local development. Here's the result of the command : ``` BP-de-Emmanuel:davibe-dev emmanuel$ yarn dev yarn run v1.22.18 warning ../package.json: No license field $ kill-port 8000 && start-test 'php artisan serve --port=8000 --quiet' http-get://localhost:8000/api/ping vite Process on port 8000 killed 1: starting server using command "php artisan serve --port=8000 --quiet" and when url "[ 'http-get://localhost:8000/api/ping' ]" is responding with HTTP status code 200 running tests using command "vite" Error: Timed out waiting for: http-get://localhost:8000/api/ping at /Users/emmanuel/Sites/davibe-dev/node_modules/wait-on/lib/wait-on.js:132:31 at doInnerSub (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:22:31) at outerNext (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:17:70) at OperatorSubscriber._this._next (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21) at Subscriber.next (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18) at AsyncAction.work (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/observable/timer.js:28:28) at AsyncAction._execute (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:79:18) at AsyncAction.execute (/Users/emmanuel/Sites/davibe-dev/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:67:26) at AsyncScheduler.flush (/Users/emmanuel/Sites/davibe-dev/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. ``` Could you help me please ? **Environment** - Koel latest version - OS: macOS Ventura - PHP version 8 - Node version 19.9.0
kerem closed this issue 2026-02-26 02:34:40 +03:00
Author
Owner

@davinci-klod commented on GitHub (Jul 18, 2023):

Up

<!-- gh-comment-id:1639839180 --> @davinci-klod commented on GitHub (Jul 18, 2023): Up
Author
Owner

@phanan commented on GitHub (Jul 26, 2023):

I'm curious about this part warning ../package.json: No license field. What folder are you running the command in?

<!-- gh-comment-id:1651583679 --> @phanan commented on GitHub (Jul 26, 2023): I'm curious about this part `warning ../package.json: No license field`. What folder are you running the command in?
Author
Owner

@phanan commented on GitHub (Dec 29, 2023):

Closing as inactive.

<!-- gh-comment-id:1872223353 --> @phanan commented on GitHub (Dec 29, 2023): Closing as inactive.
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#925
No description provided.