NativeScript / NativeScript/nativescript-cli
[iOS] App freezes after running and getting lockfile.js error
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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