NativeScript / NativeScript/nativescript-cli
[iOS] App freezes after running and getting lockfile.js error
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在虚拟机中重现 iOS 运行,并结合 CLI 的 iOS 启动流程检查 proper-lockfile/lib/lockfile.js:109 中报告的 failure。确认 lockfile 错误是否会阻止模拟器离开启动画面;完成标准是应用能够成功启动且不会卡死。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, node.js
- 领域
- cli, mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100