[GH-ISSUE #2776] Local env not working #900

Closed
opened 2026-03-16 17:36:32 +03:00 by kerem · 2 comments
Owner

Originally created by @Akshay448 on GitHub (Oct 11, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2776

I am trying to develop hoppscotch in my local , i am using docker-compose
The issue is that docker-compose.yml file has this command _ command: "pnpm run dev"_

The dockerfile is successfully build and container runs fine, but when i go to localhost:3000, the error is
Screenshot 2022-10-12 at 12 06 36 AM

but when i change the command to pnpm run start, everything is fine, and website loads in my local.

But it would be really great, if i can load my website in my. local using pnpm run dev, so i can map the exact volumes with my code and debug.
Can someone help me with this issue please?

Originally created by @Akshay448 on GitHub (Oct 11, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2776 I am trying to develop hoppscotch in my local , i am using docker-compose The issue is that docker-compose.yml file has this command **_ command: "pnpm run dev"_** The dockerfile is successfully build and container runs fine, but when i go to localhost:3000, the error is <img width="789" alt="Screenshot 2022-10-12 at 12 06 36 AM" src="https://user-images.githubusercontent.com/30473155/195172429-7e542727-367f-476e-ba0d-95817a6791bd.png"> but when i change the command to **_pnpm run start_**, everything is fine, and website loads in my local. But it would be really great, if i can load my website in my. local using pnpm run dev, so i can map the exact volumes with my code and debug. Can someone help me with this issue please?
kerem closed this issue 2026-03-16 17:36:37 +03:00
Author
Owner

@liyasthomas commented on GitHub (Oct 12, 2022):

There used to be an issue with Docker which has been resolved (via github.com/hoppscotch/hoppscotch@5701454c02) in the latest main branch. Pull the latest commits on the main branch and re run Docker compose.

Kindly reopen this issue ticket if pulling latest commits doesn't fix the issue.

<!-- gh-comment-id:1275540505 --> @liyasthomas commented on GitHub (Oct 12, 2022): There used to be an issue with Docker which has been resolved (via https://github.com/hoppscotch/hoppscotch/commit/5701454c02f3df43c841a5088965361e2155067a) in the latest `main` branch. Pull the latest commits on the main branch and re run Docker compose. Kindly reopen this issue ticket if pulling latest commits doesn't fix the issue.
Author
Owner

@shreeraj4595 commented on GitHub (Oct 14, 2022):

The issue is still there, I am using the latest commit which was pulled today and I am facing exactly the same issue.

<!-- gh-comment-id:1278521237 --> @shreeraj4595 commented on GitHub (Oct 14, 2022): The issue is still there, I am using the latest commit which was pulled today and I am facing exactly the same issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#900
No description provided.