NativeScript / NativeScript/nx

BUG with the HMR on 8.5.0

Open
#69 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
68
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I was using these following versions and the HMR works like charm

"@nativescript/android": "~8.2.2",
"@nativescript/ios": "~8.2.2",
"@nativescript/types-android": "8.2.0",
"@nativescript/types-ios": "8.2.0"

But when i use "ns migrate" and go to these following versions the HMR stop working

"@nativescript/android": "~8.5.0",
"@nativescript/ios": "~8.5.0",
"@nativescript/types-android": "^8.2.0",
"@nativescript/types-ios": "^8.2.0",
"@nativescript/webpack": "~5.0.0"

I even make a downgrade to 8.2.2 and HMR came to work again, anyone having this issue ? how can i could make the HMR work on 8.5.0 ?

Contributor guide

Open the contributing guide

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 HMR behavior with the listed 8.2.2 dependency versions, then repeat after ns migrate with the 8.5.0 versions. Compare the two setups and document a verified fix or the specific cause that prevents HMR from working on 8.5.0.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, webpack
Domain
build-system, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.