NativeScript / NativeScript/nativescript-cli

exception will be thrown when app is uninstalled and make a change

未关闭
#4,923 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.0.3-2019-08-01-075532-13733

Describe the bug
Uninstall an app from a device and make a change. You will see exception: Unable to apply changes for device: b2365713167146c9fcf4f86a2ebca88c00340a3e. Error is: Could not open file Library/Application Support/LiveSync/app/tns_modules/tns-core-modules/inspector_modules.js for writing

To Reproduce

  1. tns run ios
  2. uninstall an app from device
  3. make a change and you will see exception

Expected behavior
app should work correctly

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用 tns run ios 重现问题,卸载应用后再进行更改。跟踪与报告的 Library/Application Support/LiveSync/app/tns_modules/tns-core-modules/inspector_modules.js 写入失败相关的 LiveSync 处理流程;卸载应用后更改能够在不发生异常的情况下应用,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
ios, javascript
领域
cli, mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。