NativeScript / NativeScript/nativescript-cli

Make the installation scripts install Node and tns

Open
#2,252 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature installer
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points, so begin by locating the installation scripts and the quick-setup documentation. A completed change would have the scripts install Node, tns, and system requirements while detecting an existing Node installation, with the documentation reduced to a simpler setup flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.