NativeScript / NativeScript/nativescript-cli

Make the installation scripts install Node and tns

未關閉
#2,252 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

feature installer
主要語言
JavaScript
星號
1.1k
分支
204
平均合併
1 天 9 小時
30 天內合併 PR
8

描述

Currently our recommended quick installation is a three-step process: install Node, install tns, and then run our setup scripts. Even though those steps are relatively minimal, a surprising number of people get tripped up going through them. See https://github.com/NativeScript/docs/pull/585 for an example.

I want to propose that we change the installation scripts to install everything—Node, tns, and the various system requirements. The scripts could detect whether Node is installed, as to avoid undoing a user’s installation unknowingly.

A single script would simplify the documentation considerably, but it would probably be a non-trivial engineering effort. And with installers in the works perhaps this isn’t worth the effort. But I wanted to open this up to see what people think.

Thoughts?

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

由於 issue 沒有指出任何檔案、測試或進入點,因此請先定位安裝腳本和快速設定文件。完成後的變更應讓腳本安裝 Node、tns 和系統需求,同時偵測現有的 Node 安裝,並將文件簡化為更簡單的設定流程。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, node.js
領域
cli, devops
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
20/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。