vercel / vercel/hyper

TypeError: parse_1.default is not a function or its return value is not iterable

Open
#7,006 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOs Ventura 13.2
  • Hyper.app version: 3.4.1
  • Link of a Gist with the contents of your hyper.json: https://gist.github.com/Olgoetz/ddca3567808bd8d689749010d5ab80ee
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
  • TypeError: parse_1.default is not a function or its return value is not iterable
    at Object.load [as default] (font.ts:20:29)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
  • The issue is reproducible in vanilla Hyper.app: yes

Issue

When looking into the developer tools I can see a lot of error messages like
:23999 TypeError: parse_1.default is not a function or its return value is not iterable
at Object.load [as default] (font.ts:20:29)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)

this error is logged for typing in the console

This is my config:
https://gist.github.com/Olgoetz/ddca3567808bd8d689749010d5ab80ee

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the error in vanilla Hyper.app 3.4.1 on macOS Ventura with the linked hyper.json configuration, then inspect the stack trace entry in font.ts:20. Determine why the parse result is not callable or iterable, and consider the issue done when the repeated DevTools TypeError no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.