Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[iOS] Crash when using HMR (and possibly ListView)

オープン
#61 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
ios, typescript

調査の方向性

まず、リンクされた NativeScript の issue を読み、ns debug ios --force を実行する nx run app1:ios でセットアップを再現します。libs セクション配下の変更、特に HMR 更新後に contactlist から contactdetails へ移動する処理に注目してください。共有ライブラリのコードを変更して contactdetails へ移動しても iOS アプリがクラッシュしなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I'm struggling with crashes when using HMR and changing code in the libs section of the NX workspace.
I have more details about the issue here https://github.com/NativeScript/NativeScript/issues/10107.

I'm wondering if this has something to do with the combination of NativeScript+NX (using this repo), or something else.

Basically I have this setup:

apps
  app1 -> home -> contactmodule
  app2 -> contactmodule
libs
  shared
    contactmodule -> contactlist -> contactdetails

If I do nx run app1:ios it will run ns debug ios --force. It seems to me as if I change the code under libs after it has been displayed (navigated to, perhaps via a list), the app will crash on the next navigation to contactdetails.

Initially I thought this had something to do with ListView, but I'm leaning more towards bad HMR update of code from libs.
Do you guys have any idea?

主要言語
TypeScript
スター
68
フォーク
15
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NativeScript/nx のほかの issue

NativeScript/nx の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。