mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[GH-ISSUE #5489] [bug]: Missing type definitions in experimental sandbox (Monaco IntelliSense) #2108
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#2108
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 @ezequieltejada on GitHub (Oct 17, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5489
Originally assigned to: @jamesgeorge007 on GitHub.
Is there an existing issue for this?
Platform
Desktop App
Browser
Other (specify in additional info)
Operating System
Windows
Bug Description
What happened?
When creating a post-request script, attempting to set an environment variable results in the following error:
It still works, but it shows as an syntax error.
Steps to reproduce
env.set('key', 'value')or similar to set an environment variable.Additional context
This issue occurs specifically when trying to set env variables in post-request scripts.
I've tried with "hopp.env" and I'm getting the same syntax error.
Deployment Type
Self-hosted (on-prem deployment)
Version
No response
@jamesgeorge007 commented on GitHub (Oct 17, 2025):
Hi @ezequieltejada, this is a known issue related to https://github.com/hoppscotch/hoppscotch/issues/5475 that has been addressed in https://github.com/hoppscotch/hoppscotch/pull/5433 and is live in the latest release across all web platforms.
However, please keep in mind that the Desktop App update is still pending and will be included in an upcoming release.
Also, since you're working in the experimental scripting sandbox, the type errors you're seeing in the Monaco editor can be safely ignored, given the underlying functionality works as intended. We're aware of certain gaps in the
hoppnamespace regarding type definitions that power the Monaco editor's IntelliSense, and these will be addressed in the upcoming release.@ezequieltejada commented on GitHub (Oct 17, 2025):
Hi @jamesgeorge007
First of all, thank you for taking a look at this issue.
Before creating it, I've checked the issue #5475 and I thought it didn't addressed the same problem I'm having. That's why I reported it.
I've followed your suggestion and ignored the syntax error and it still works, so we can safely close this issue.
Thanks again, James. 😊
@jamesgeorge007 commented on GitHub (Oct 31, 2025):
Hey @ezequieltejada, quick update: the Desktop App release is now live! We've also fixed the known Intellisense issues related to the
hoppnamespace script usage in the latest release.@ezequieltejada commented on GitHub (Nov 6, 2025):
Hey James, thanks for the update! I'll test it.