Issue Description
My project is literally using ns create example-app --ng, nothing more, nothing less. I haven't added or removed a single thing from it.
Using ns preview and ns preview --no-hmr --force and ns preview --no-hmr all gave me the same results.
I was resetting the cache, resetting the app, reinstalling the app, but still, that didn't solve it...
Bonus note: It worked on my iPhone X, and it worked on my Redmi Note 8, but not on my Samsung Galaxy S25...
This is my whole terminal:
(base) ➜ example-app git:(demo-branch) ✗ ns preview
npm warn deprecated [email protected]: This package is deprecated. Use the optional chaining (?.) operator instead.
npm warn deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated [email protected]: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
added 838 packages, and audited 839 packages in 17s
184 packages are looking for funding
run `npm fund` for details
22 vulnerabilities (1 low, 6 moderate, 15 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues possible, run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
i ┌───────────────────────────────────────────┐
i ├─ {N} NativeScript Preview 2.0 [v1.0.15] ──┤
i └───────────────────────── You are a hero! ─┘
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
┃
i Scan the above QR code with your device to connect to this session.
i Scanning can be done with the default camera app on iOS or any other application capable of scanning QR codes.
i
i This CLI is interactive, you can press the following keys any time (make sure the terminal has focus):
i
i [R] - restart the Preview app on all connected devices
i [S] - reset the Preview app on all connected devices
i [O] - open the Web UI to scan the QR code
i
i Waiting for device connections...
i Device connected: SM-S931B [android: 2.1.9 (41)]
✔ Building for android
Compiled successfully in 4.31s
i Build complete. Uploading files...
i Upload complete. Applying changes on connected devices...
i Device disconnected: SM-S931B [android: 2.1.9 (41)]
i Device connected: SM-S931B [android: 2.1.9 (41)]
you can see the following:
ns preview was ran
- The QR was displayed
- The QR was scanned
- The build was uploaded
- The device got connected and reconnected
- The error on my device, Samsung Galaxy S25, emerged:
Reproduction
No response
Relevant log output (if applicable)
Environment
No response
Please accept these terms
Issue Description
My project is literally using
ns create example-app --ng, nothing more, nothing less. I haven't added or removed a single thing from it.Using
ns previewandns preview --no-hmr --forceandns preview --no-hmrall gave me the same results.I was resetting the cache, resetting the app, reinstalling the app, but still, that didn't solve it...
Bonus note: It worked on my iPhone X, and it worked on my Redmi Note 8, but not on my Samsung Galaxy S25...
This is my whole terminal:
you can see the following:
ns previewwas ranReproduction
No response
Relevant log output (if applicable)
Environment
No response
Please accept these terms