mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #4745] [bug]: pnpm dev results in Code 139 #1772
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#1772
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 @yousefmarey12 on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4745
Is there an existing issue for this?
Current behavior
I want to start a development server on Hoppscotch, and I couldn't do so because I did not have enough RAM. However, after I extended my RAM to 24 GB (for other reasons),
pnpm iworked successfully. However,pnpm devgives me the following error:The problem is with the
gql-codegenand here is all the information that I can give you:hoppscotch-selfhost-web/gql-codegen.yml:I understand that a code of 139 means memory that shouldn't be accessed had tried to be accessed, but I couldn't figure out where the problem is as I don't really work with codegen or graphql that much.
For reference, I followed this tutorial to set up a development server.
I am using WSL 2 (Ubuntu).
Steps to reproduce
Follow the steps on the tutorial while using WSL Ubuntu.
Environment
Production
Version
Self-hosted
@yousefmarey12 commented on GitHub (Feb 10, 2025):
For reference, I only want to use the Frontend portion of Hoppscotch.
@jamesgeorge007 commented on GitHub (Feb 14, 2025):
Hi, please ensure the Node.js version is in the LTS range. If there are persistent issues in the local environment, you can try the Docker route.
For FE, spinning up the
hoppscotch-appservice would suffice. More information can be found in the above thread with alternative options like the AIO container.@yousefmarey12 commented on GitHub (Feb 14, 2025):
Hello,
The specific exception occurs with Node v22.14.0. All other Node versions above v18 result in the following:
This thread posted was in July 2024, and these specific steps aren't included in the official docs. Is the thread (specifically the FE only part) outdated by any chance? All I want to do is to solve a different issue in this repository, but I can't even see my own
console.logs. I'll tryhoppscotch-appand will update on progress tomorrow.Thanks.
@yousefmarey12 commented on GitHub (Feb 15, 2025):
Hello @jamesgeorge007 ,
Correct me if I am wrong, but doesn't docker mount prebuilt images instead of my local files? I tried it and Hoppscotch is running perfectly, but I cannot debug code because it is not running from local files. Is
pnpm devthe only way to run from my local repo or are there other ways?Thanks
@yousefmarey12 commented on GitHub (Feb 15, 2025):
I am going to close this issue as the main concern was solved (by downgrading the Node.js version), but I will open a new one that focuses on why
dev:viteis not working.Thanks