Skip to content

[Bug] Docker container crashes with "sh: next: not found" on fresh install (macOS) #9

@rghvbgdi

Description

@rghvbgdi

Describe the bug
I tried to run the project on a fresh macOS install. When I run docker compose -f docker-compose_dev.yml up, the container crashes immediately.

To Reproduce

  1. Clone the repo.
  2. Run docker compose -f docker-compose_dev.yml up --build
  3. See error in logs.

Error Log
sh: next: not found exited with code 127

Cause
The volume mapping - ./ui/:/home/node/app/ is overwriting the container's node_modules folder, deleting the installed dependencies.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions