mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[GH-ISSUE #3111] [bug]: ERROR [hoppscotch-backend builder 8/9] RUN pnpm i --filter hoppscotch-backend #1024
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1024
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mir1198yusuf on GitHub (Jun 4, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3111
Originally assigned to: @balub on GitHub.
Is there an existing issue for this?
Current behavior
When I do
docker compose build, I get error asSteps to reproduce
I followed the same steps as mentioned in self-host installation guide.
Let me if you need to know any specific details of my system.
Environment
Production
Version
Self-hosted
@balub commented on GitHub (Jun 4, 2023):
@mir1198yusuf Can you provide more details like the logs so that we maybe able to identify what the issue maybe?
@mir1198yusuf commented on GitHub (Jun 4, 2023):
@balub
When i am running
pnpm install, I get one error in middle for vite-dts and one warning line for nestjs/jwt. It gets successful though finally (this command). Output/Error of next commanddocker compose buildis in next comment@mir1198yusuf commented on GitHub (Jun 4, 2023):
@balub The error while running
docker compose buildis below@balub commented on GitHub (Jun 5, 2023):
@mir1198yusuf could you delete the
distfolder in the project root and try the process from scratch again?@mir1198yusuf commented on GitHub (Jun 6, 2023):
@balub there is no
distfolderls -agives this@balub commented on GitHub (Jun 6, 2023):
Im sorry can you look for it in
packages/hoppscotch-backenddirectory.@mir1198yusuf commented on GitHub (Jun 6, 2023):
@balub I dont have that old instance now, let me start again fresh & revert with updates. I might fall to the same issue as beginning but lets see
@mir1198yusuf commented on GitHub (Jun 6, 2023):
Just done with
pnpm installstep, same logs like this i.e. one error and one warn https://github.com/hoppscotch/hoppscotch/issues/3111#issuecomment-1575696342@mir1198yusuf commented on GitHub (Jun 6, 2023):
This time , during
docker compose build, got this errorI used 12gb root volume how much does it needs ?
@balub
@balub commented on GitHub (Jun 6, 2023):
You can run
docker system pruneto clear some space for you, however, it may eliminate other dependencies outside this project so just be careful when you run it.@mir1198yusuf commented on GitHub (Jun 6, 2023):
@balub I increased to 20 gb and it reached till this point in
docker compose buildBut now it used all ram and instance is freezed
I am using 4gb ram, 2 vcpu instance
@balub commented on GitHub (Jun 6, 2023):
We recommend using atleast 16gb of ram when building the containers.
@mir1198yusuf commented on GitHub (Jun 6, 2023):
16 gb is too much , not sure how to manage this
pre-built images are not available for hoppscotch ?
I just want to self-host
@balub
@balub commented on GitHub (Jun 6, 2023):
We currently do not have pre-built images for our first release, rest assured we are looking into ways to make it easier for folks to get their instance up and running.
@mir1198yusuf commented on GitHub (Jun 6, 2023):
@balub okay will wait for it then, hoppscotch was seemingly good as an alternative to postman, and can run on 4gb ram too.
Just if pre-built images could be available , it would be better.
Also any issue in this regard which I can follow ?
@talenta-eg commented on GitHub (Jun 8, 2023):
Same issue !! Any Solution
@mir1198yusuf commented on GitHub (Jun 9, 2023):
@liyasthomas check all comments, i was able to reach further till
docker compose buildon Ubuntubut then found it needs 16gb ram for this command to complete, so stuck
@liyasthomas commented on GitHub (Jun 9, 2023):
Docker Compose can require a significant amount of memory, especially if you're working with multiple containers. Since a segment of users encountered an issue while running the docker compose build command due to insufficient RAM, we're prioritizing this issue.
While we review our Docker configuration and check if there are any optimizations we can make to reduce resource consumption, please stay patient and subscribe to this issue thread to get notified about product updates.