mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #2787] [bug]: Failed to load schema for "src/helpers/backend/backend-schema.json" #903
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#903
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 @yashram96 on GitHub (Oct 15, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2787
Originally assigned to: @AndrewBastin on GitHub.
Is there an existing issue for this?
Current behavior
When i ran pnpm install
i got below errors
packages/hoppscotch-app postinstall$ pnpm run gql-codegen
│ > hoppscotch-app@3.0.1 gql-codegen /home/yashram/apiclient/hoppscotch/packages/hoppscotch-app
│ > graphql-codegen --require dotenv/config --config gql-codegen.yml
│ [STARTED] Parse Configuration
│ [SUCCESS] Parse Configuration
│ [STARTED] Generate outputs
│ [STARTED] Generate src/helpers/backend/graphql.ts
│ [STARTED] Load GraphQL schemas
│ [FAILED] Failed to load schema
│ [FAILED] Failed to load schema
│ Failed to load schema for "src/helpers/backend/backend-schema.json"
│ Failed to load schema from undefined:
│
│ Unable to find any GraphQL type definitions for the following pointers:
│
│ - undefined
'
'
'
'
'
│ [STARTED] Generate src/helpers/backend/backend-schema.json
│ [STARTED] Load GraphQL schemas
│ [SUCCESS] Generate outputs
│ ELIFECYCLE Command failed with exit code 1.
└─ Failed in 1.7s
ELIFECYCLE Command failed with exit code 1.
Steps to reproduce
Run pnpm install
you will get error
Environment
Deploy preview
Version
Self-hosted
@AndrewBastin commented on GitHub (Oct 15, 2022):
Copy
.env.exampleinpackages/hoppscotch-appand paste and rename it as.env@liyasthomas update README ?
@ziyangcommon commented on GitHub (Jan 11, 2023):
readme file seems not update yet
@liyasthomas commented on GitHub (Jan 11, 2023):
Here's the link to README's "Developing" section.