NativeScript / NativeScript/nativescript-cli
Mac os android command not working
未關閉
還沒有人認領這個 Issue。
build
needs more info
os: android
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Original issue #3790
Hi, i come back again and i still have the same issue
tns info
✔ Getting NativeScript components versions information...
✔ Component nativescript has 5.4.2 version and is up to date.
✔ Component tns-core-modules has 5.4.2 version and is up to date.
✔ Component tns-android has 5.4.0 version and is up to date.
✔ Component tns-ios has 5.4.2 version and is up to date.
tns build android --log trace > out.txt
Trying to get macOS version.
Exec system_profiler SPSoftwareDataType -detailLevel mini
stdout: Software:
System Software Overview:
System Version: macOS 10.13.6 (17G65)
Kernel Version: Darwin 17.7.0
Time since boot: 3:11
stderr:
macOS version based on system_profiler is 10.13.
Error: Trying to handle SIGINT event. CLI overrides this behavior and does not allow handling SIGINT as this causes issues with Ctrl + C in terminal
at process.on (/usr/local/lib/node_modules/nativescript/lib/nativescript-cli.js:22:22)
at /usr/local/lib/node_modules/nativescript/node_modules/signal-exit/index.js:122:15
at Array.filter (<anonymous>)
at load (/usr/local/lib/node_modules/nativescript/node_modules/signal-exit/index.js:120:21)
at module.exports (/usr/local/lib/node_modules/nativescript/node_modules/signal-exit/index.js:35:5)
at Object.<anonymous> (/usr/local/lib/node_modules/nativescript/node_modules/proper-lockfile/lib/lockfile.js:296:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Looking for project in '/Users/imac/projects/nativescript/xxx'
Project directory is '/Users/imac/projects/nativescript/xxx'.
Loading extensions.
Asserting extension nativescript-cloud is installed.
Extension nativescript-cloud is installed.
Asserting extension nativescript-starter-kits is installed.
Extension nativescript-starter-kits is installed.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先重現 issue 中的 tns build android --log trace,並檢視所參照的 nativescript-cli.js 堆疊追蹤。追蹤該命令在載入 NativeScript 擴充功能後的執行流程,並找出 Android 建置未繼續進行的原因;在所回報的 macOS 設定上該命令成功完成即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, javascript, macos
- 領域
- cli, mobile, operating-systems
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100