[eslint] Failed to load config "../package.json" to extend from. #643

Closed
opened 2026-02-04 20:40:31 +03:00 by OVERLORD · 10 comments
Owner

Originally created by @ba4b0d on GitHub (Feb 2, 2025).

hi,
when i try to build with docker-compose-dev.yml everything go ok and pass

✔ Service client Built 1.4s
✔ Service server Built 1.4s
✔ Service init-db Built 1.4s
✔ Container planka--org-postgres-1 Healthy 0.5s
✔ Container planka--org-client-1 Running 0.0s
✔ Container planka--org-init-db-1 Started 0.8s
✔ Container planka--org-server-1 Running 0.0s
✔ Container planka--org-proxy-1 Running

but when i open localhost:3000 i get this error

Compiled with problems:
×
ERROR
[eslint] Failed to load config "../package.json" to extend from.
Referenced from: /app/package.json

how can i fix this?

Originally created by @ba4b0d on GitHub (Feb 2, 2025). hi, when i try to build with docker-compose-dev.yml everything go ok and pass ✔ Service client Built 1.4s ✔ Service server Built 1.4s ✔ Service init-db Built 1.4s ✔ Container planka--org-postgres-1 Healthy 0.5s ✔ Container planka--org-client-1 Running 0.0s ✔ Container planka--org-init-db-1 Started 0.8s ✔ Container planka--org-server-1 Running 0.0s ✔ Container planka--org-proxy-1 Running but when i open localhost:3000 i get this error Compiled with problems: × ERROR [eslint] Failed to load config "../package.json" to extend from. Referenced from: /app/package.json how can i fix this?
Author
Owner

@meltyshev commented on GitHub (Feb 2, 2025):

Hi! Thanks for reporting this. To be honest, I've never tried running dev environment in Docker. I would recommend not using it at the moment. We'll try to fix this with the Planka v2 release.

@meltyshev commented on GitHub (Feb 2, 2025): Hi! Thanks for reporting this. To be honest, I've never tried running dev environment in Docker. I would recommend not using it at the moment. We'll try to fix this with the Planka v2 release.
Author
Owner

@ba4b0d commented on GitHub (Feb 2, 2025):

hi there thanks for replying to me, im trying to build it for my personal project to learn and i am stuck on building it and, do you have any suggestion and tips to make it work.
i will be grateful if you help me thanks.

@ba4b0d commented on GitHub (Feb 2, 2025): hi there thanks for replying to me, im trying to build it for my personal project to learn and i am stuck on building it and, do you have any suggestion and tips to make it work. i will be grateful if you help me thanks.
Author
Owner

@ba4b0d commented on GitHub (Feb 2, 2025):

hi there thanks for replying to me, im trying to build it for my personal project to learn and i am stuck on building it and, do you have any suggestion and tips to make it work. i will be grateful if you help me thanks.

i tried on both linux ubuntu and widows to compile it.

Image

@ba4b0d commented on GitHub (Feb 2, 2025): > hi there thanks for replying to me, im trying to build it for my personal project to learn and i am stuck on building it and, do you have any suggestion and tips to make it work. i will be grateful if you help me thanks. i tried on both linux ubuntu and widows to compile it. ![Image](https://github.com/user-attachments/assets/d24c6565-c95e-4e93-9566-3878e7b9a3c2)
Author
Owner

@meltyshev commented on GitHub (Feb 2, 2025):

hi there thanks for replying to me, im trying to build it for my personal project to learn and i am stuck on building it and, do you have any suggestion and tips to make it work. i will be grateful if you help me thanks.

You can try the following workaround (though it will disable linting on the client side): add an extra environment variable to the client service in docker-compose-dev.yml:

environment:
  - NODE_ENV=development
  - CHOKIDAR_USEPOLLING=true
  - BASE_URL=http://localhost:3000
  - REACT_APP_SERVER_BASE_URL=http://localhost:3000
  - DISABLE_ESLINT_PLUGIN=true # This is the added line
@meltyshev commented on GitHub (Feb 2, 2025): > hi there thanks for replying to me, im trying to build it for my personal project to learn and i am stuck on building it and, do you have any suggestion and tips to make it work. i will be grateful if you help me thanks. You can try the following workaround (though it will disable linting on the client side): add an extra environment variable to the `client` service in `docker-compose-dev.yml`: ``` environment: - NODE_ENV=development - CHOKIDAR_USEPOLLING=true - BASE_URL=http://localhost:3000 - REACT_APP_SERVER_BASE_URL=http://localhost:3000 - DISABLE_ESLINT_PLUGIN=true # This is the added line ```
Author
Owner

@ba4b0d commented on GitHub (Feb 2, 2025):

i still have the error,

i tried to go with "Traditional Development Setup"

i go much further with it, i attached some screen shot for u to see, but still doesn't get to see the login page in localhost:3000 or localhost:1337

i dont know where i got wrong.
i create a local date base for it, not use the docker date base command in the site

Image

Image

@ba4b0d commented on GitHub (Feb 2, 2025): i still have the error, i tried to go with "Traditional Development Setup" i go much further with it, i attached some screen shot for u to see, but still doesn't get to see the login page in localhost:3000 or localhost:1337 i dont know where i got wrong. i create a local date base for it, not use the docker date base command in the site ![Image](https://github.com/user-attachments/assets/a6e46c0d-f8fc-4d77-931c-233973d74d94) ![Image](https://github.com/user-attachments/assets/1357e40a-c2a3-4a9f-a5e5-f198ea9eb80e)
Author
Owner

@meltyshev commented on GitHub (Feb 2, 2025):

It looks like you're only starting the server, but you need to run both client and server simultaneously. To do this, navigate to the project's root folder (in your case, cd ~/planka) and run npm start there.

@meltyshev commented on GitHub (Feb 2, 2025): It looks like you're only starting the server, but you need to run both client and server simultaneously. To do this, navigate to the project's root folder (in your case, cd `~/planka`) and run `npm start` there.
Author
Owner

@ba4b0d commented on GitHub (Feb 2, 2025):

oh i get thanks im so sorry for asking so much question really , i don npm start in /planaka and its go one step further and know have error in compiling i guess, error are like this in ./src/components etc. and resolve-url-loader: erro processing ccs etc.
i will be very thankful for helping me pass this last step to.

Image

@ba4b0d commented on GitHub (Feb 2, 2025): oh i get thanks im so sorry for asking so much question really , i don npm start in /planaka and its go one step further and know have error in compiling i guess, error are like this in ./src/components etc. and resolve-url-loader: erro processing ccs etc. i will be very thankful for helping me pass this last step to. ![Image](https://github.com/user-attachments/assets/ec274cbe-8890-4e9c-af9d-b18111a850ad)
Author
Owner

@meltyshev commented on GitHub (Feb 3, 2025):

What version of Node are you using? Please try with Node v18, but don't forget to delete the node_modules folders (including those in the server and client directories) and re-run npm install.

@meltyshev commented on GitHub (Feb 3, 2025): What version of Node are you using? Please try with Node v18, but don't forget to delete the `node_modules` folders (including those in the `server` and `client` directories) and re-run `npm install`.
Author
Owner

@ba4b0d commented on GitHub (Feb 3, 2025):

Thanks alot the problem was node i wanon the last version i think 23.x and that was the problem for me,

And my last quistion can i build an autametd installer like the default one that is in the site?

@ba4b0d commented on GitHub (Feb 3, 2025): Thanks alot the problem was node i wanon the last version i think 23.x and that was the problem for me, And my last quistion can i build an autametd installer like the default one that is in the site?
Author
Owner

@ba4b0d commented on GitHub (Feb 3, 2025):

And also after i run npm start and run the dev mode where can i edite the html css of pages?
I only find one index.html in clinet folder that i thinks its for login screen.

@ba4b0d commented on GitHub (Feb 3, 2025): And also after i run npm start and run the dev mode where can i edite the html css of pages? I only find one index.html in clinet folder that i thinks its for login screen.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#643