Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development docker compose failed to compile / error eslint #847

Open
Nounoursdestavernes opened this issue Aug 13, 2024 · 2 comments
Open
Labels
help wanted Extra attention is needed

Comments

@Nounoursdestavernes
Copy link
Contributor

Hi,

I just clone the repo and want to work on a point and when I docker compose with the docker-compose-dev.yml I got an error:

[eslint] Failed to load config "../package.json" to extend from.
Referenced from: /app/package.json
ERROR in [eslint] Failed to load config "../package.json" to extend from.
Referenced from: /app/package.json
webpack compiled with 1 error

error

Does someone just had the same problem or know how to solve it ?

Best regards,

@meltyshev
Copy link
Member

Hi! Thanks for reporting this. To be honest, I've never tried running a dev environment via Docker. You can try disabling ESLint by changing line 86 of docker-compose-dev.yml to command: DISABLE_ESLINT_PLUGIN=true npm start. But this is just a temporary workaround, we'll try to make it work when we have some time.

@meltyshev meltyshev added the help wanted Extra attention is needed label Aug 13, 2024
@Nounoursdestavernes
Copy link
Contributor Author

I found a workaround that fit better my needs:

  • Building the docker image with dockerfile and adding the tag planka:local
  • Changing the image in the docker compose.

One major advantage is that I am in the closest environment to production.
But this only work because I don't need any reactivity in my contribution. I note the workaround if my needs change. Thanks for your time. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants