mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #4178] [bug]: MacOS tauri build fail #1509
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#1509
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 @maxktz on GitHub (Jul 9, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4178
Is there an existing issue for this?
Current behavior
This may be related:
https://github.com/hoppscotch/hoppscotch/issues/2717
When I'm trying to run desktop application using
pnpm tauri devan error happens:And this is the app view:

Steps to reproduce
git clone https://github.com/hoppscotch/hoppscotch.gitcd hoppscotch/packages/hoppscotch-selfhost-desktopnvm use 18Now using node v18.20.4 (npm v10.7.0)pnpm install... Done in 46.1spnpm tauri devEnvironment
I use Mac with an M1 chip
Version
Self-hosted
@shipko commented on GitHub (Jul 10, 2024):
Please, try 20 version of nodejs
@maxktz commented on GitHub (Jul 11, 2024):
I have tried other versions before:
v16.20.2
v18.20.4
v20.9.0
v20.12.2
v21.2.0
v22.2.0
But I get the same error
Same steps to reproduce, changed only
nvm use <version>:@4innocent commented on GitHub (Aug 8, 2024):
just change this in vite.config.ts.
from
const ENV = loadEnv("development", path.resolve(__dirname, "../../"), ["VITE_"])to
const ENV = loadEnv("example", path.resolve(__dirname, "../../"), ["VITE_"])