NativeScript / NativeScript/nativescript-cli

[iOS] App freezes after running and getting lockfile.js error

Open
#5,276 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

Describe the bug
I'm running my iOS app within the virtual machine. App gets built successfully, but in the end, it gives me the following error:
Error: Unable to update lock within the state threshold at /usr/local/lib/node_modules/nativescript/node_modules/proper-lockfile/lib/lockfile.js:109:21 at FSReqCallback.oncomplete (fs.js:154:23)

Then, the app (in the emulator) doesn't get started and stays in the splash screen step.

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

Reproduce the iOS run in the virtual machine and inspect the reported proper-lockfile/lib/lockfile.js:109 failure alongside the CLI's iOS launch flow. Confirm whether the lockfile error prevents the emulator from leaving the splash screen; done means the app launches successfully without the freeze.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, mobile
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.