plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Unable to run Plane on Docker

Open KumailP opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current behavior

When I run ./setup.sh, docker compose -f docker-compose-local.yml up -d, and yarn dev the frontend does not start and API is unavailable (don't see any obvious errors on the API) These are the errors on the frontend:

➜  Plane git:(preview) yarn dev
yarn run v1.22.22
$ turbo run dev --concurrency=13
turbo 2.5.4

• Packages in scope: @plane/constants, @plane/decorators, @plane/editor, @plane/eslint-config, @plane/hooks, @plane/i18n, @plane/logger, @plane/propel, @plane/services, @plane/shared-state, @plane/tailwind-config, @plane/types, @plane/typescript-config, @plane/ui, @plane/utils, admin, live, plane-api, space, web
• Running dev in 20 packages
• Remote caching disabled
@plane/logger:dev: cache bypass, force executing f1d8b55f72368a41
@plane/constants:dev: cache bypass, force executing 1a45b135ef2a7ea3
space:dev: cache bypass, force executing 2249cb5ff2792d51
@plane/ui:dev: cache bypass, force executing 6165038065782e06
@plane/hooks:dev: cache bypass, force executing 6ec533f38cac1dd8
@plane/editor:dev: cache bypass, force executing 07592f727d4ce6d1
web:dev: cache bypass, force executing 9896ecfbd753665f
live:dev: cache bypass, force executing 02e3a3aaa38a4155
@plane/utils:dev: cache bypass, force executing 9f54fcd6d0fb6ca4
@plane/types:dev: cache bypass, force executing 5e07fec7ca19951b
@plane/decorators:dev: cache bypass, force executing a611735b310bb38d
admin:dev: cache bypass, force executing 4d0753da415eb5ab
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
yarn run v1.22.22
$ turbo run develop
$ turbo run develop
$ tsup --watch
$ tsup src/index.ts --format esm,cjs --watch --dts --external express,ws
$ tsup --watch
$ turbo run develop
$ tsup --watch
$ tsup --watch
$ tsup --watch
$ tsup --watch --onSuccess 'node --env-file=.env dist/server.js'
$ tsup src/index.ts --format esm,cjs --watch --dts --external react
$ tsup --watch
admin:dev: turbo 2.5.4
admin:dev:
@plane/decorators:dev: CLI Building entry: src/index.ts
@plane/decorators:dev: CLI Using tsconfig: tsconfig.json
@plane/decorators:dev: CLI tsup v8.4.0
@plane/decorators:dev: CLI Using tsup config: /Users/kumail/Work/Crisply/Plane/packages/decorators/tsup.config.ts
@plane/decorators:dev: CLI Running in watch mode
@plane/decorators:dev: CLI Target: es2020
@plane/decorators:dev: CLI Cleaning output folder
@plane/decorators:dev: ESM Build start
@plane/decorators:dev: CJS Build start
admin:dev:   × Missing tasks in project
admin:dev:   ╰─▶   × Could not find task `develop` in project
admin:dev:
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
admin:dev: ERROR: command finished with error: command (/Users/kumail/Work/Crisply/Plane/apps/admin) /var/folders/99/pqpv4hn51dqfnwkvcgxnj8wr0000gn/T/yarn--1751915329908-0.16293636990867744/yarn run dev exited (1)
error Command failed with signal "SIGINT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with signal "SIGINT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with signal "SIGINT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with signal "SIGINT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with signal "SIGINT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
admin#dev: command (/Users/kumail/Work/Crisply/Plane/apps/admin) /var/folders/99/pqpv4hn51dqfnwkvcgxnj8wr0000gn/T/yarn--1751915329908-0.16293636990867744/yarn run dev exited (1)

 Tasks:    0 successful, 12 total
Cached:    0 cached, 12 total
  Time:    1.312s
Failed:    admin#dev

 ERROR  run failed: command  exited (1)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This might be related to some new changes & restructuring.

Steps to reproduce

  1. ./setup.sh
  2. docker compose -f docker-compose-local.yml up -d
  3. yarn dev

Environment

Deploy preview

Browser

None

Variant

Local

Version

v0.27.1

KumailP avatar Jul 07 '25 19:07 KumailP

fixed in https://github.com/makeplane/plane/pull/7356

aheckmann avatar Jul 08 '25 14:07 aheckmann