Skip to content

ERROR [TypeError: Property 'key' is not configurable] #88

@rejas

Description

@rejas

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

When using your latest lib version I get the
ERROR [TypeError: Property 'key' is not configurable]

Library version

0.1.0

Environment info

System:
  OS: macOS 26.1
  CPU: (8) arm64 Apple M1 Pro
  Memory: 1.07 GB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.20.0
    path: /Users/veeck/.nvm/versions/node/v22.20.0/bin/node
  Yarn: Not Found
  npm:
    version: 10.9.3
    path: /Users/veeck/.nvm/versions/node/v22.20.0/bin/npm
  Watchman:
    version: 2025.11.10.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.1
      - iOS 26.1
      - macOS 26.1
      - tvOS 26.1
      - visionOS 26.1
      - watchOS 26.1
  Android SDK: Not Found
IDEs:
  Android Studio: 2025.2 AI-252.25557.131.2521.14344949
  Xcode:
    version: 26.1.1/17B100
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.17
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.2
    wanted: latest
  react:
    installed: 19.1.0
    wanted: 19.1.0
  react-native:
    installed: 0.81.5
    wanted: 0.81.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

info React Native v0.82.1 is now available (your project is running on v0.81.5).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.82.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.81.5&to=0.82.1
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".

Steps to reproduce

when using the component like this (displaying bsky threads in our app):

  ```

<Hyperlink linkStyle={{ color: "#2980b9", fontSize: 20 }}>

{fulltext}
{showReplies &&
replies?.map((reply: FeedViewPost, index: number) => {
const replyText = reply.post.record?.text as string;
return {replyText};
})}


- when I remove the linkStyle from the HyperLink component, the error goes away
- when removing the whole {showReplies .... } part, the error goes away

any idea what Im doing wrong here?


### Reproducible example repository

private repo, sorry

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions