Skip to content

Makefile, Docker Compose, eslint #1690

@m-c-g

Description

@m-c-g

Hi, I'm Mark. I went to the last Code for PDX meeting.

This project seemed interesting so I forked it and started looking into it. I'm using a VMware instance of Ubuntu on a Mac for development.

I installed Docker and Docker Config but ran into errors in the Makefile when I ran make new.

Recent versions of Docker no longer treat docker-compose as an external program, it is now called as a command within Docker. As of the end of June 2023 the old syntax will no longer be supported.

From the documentation:

Important

The new Compose V2, which supports the compose command as part of the Docker CLI, is now available.

Compose V2 integrates compose functions into the Docker platform, continuing to support most of the previous docker-compose features and flags. You can run Compose V2 by replacing the hyphen (-) with a space, using docker compose, instead of docker-compose.

Changing all instances of docker-compose to docker compose
in the Makefile fixed the problem I was having with make new.

On opening localhost:3000 the site came up but with an overlay with the following:

Compiled with problems:

ERROR

[eslint] EACCES: permission denied, mkdir '/src/frontend/node_modules/.cache'

On closing the overlay the site appeared to be working without any obvious
problems.

I'm pretty new to all of this, I'm still very much in the learning stages with Docker and git/github.
If I'm missing something or doing something wrong please let me know.
--Mark

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