mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #2237] [bug]: Building locally fails due to hostname error #771
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#771
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 @DanBurkhardt on GitHub (Apr 5, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2237
Is there an existing issue for this?
Current behavior
I have followed all instructions to build the application to run locally without Docker according to the README under section titled "release".
upon running the 2nd to last command
pnpm run generate, it takes a while and seems to be succeeding, but when it reaches the sitemap generation step it fails with the error:FATAL [sitemap-module] The hostname option is mandatory in your config on spa or generate buildI have attached a screenshot of the error.
There is no indication of where I would need to setup this hostname, and if this is needed, it also needs to be added to the README instructions.
Thanks,
Dan
Steps to reproduce
Go to the README on this repository and follow steps to build locally under "release".
My system info:
16" MBP running 12.2.1 (Monterey)
NPM Version: 6.14.13
Node Version: 14.17.1
Environment
Production
Version
Local
Error:

@liyasthomas commented on GitHub (Apr 6, 2022):
Seems like you missed the
Step: 0in local development guide.You should provide the essential environment variables in the
.envfile. Let me know if it doesn't fix your build process.EDIT: I've updated the
Releaseinstructions in readme with necessary info.@DanBurkhardt commented on GitHub (Apr 6, 2022):
Perfect, will attempt after updating according to the README, thanks for the quick action!
Update: it worked-- thanks again