NativeScript icon indicating copy to clipboard operation
NativeScript copied to clipboard

Create installation package for NativeScript on Mac and Windows

Open valentinstoychev opened this issue 11 years ago • 20 comments

One of the biggest getting started hurdles for new developers is the installation of the NativeScript dependencies. The list of libraries to install required by the mobile vendors is big and many things can go wrong.

Lets create an installer that will install all the needed dependencies and will make all the needed changes in order NativeScript to run on a Windows or Mac machine.

Please vote for this features in our ideas portal.

valentinstoychev avatar Sep 17 '15 13:09 valentinstoychev

I think this is the best idea so far!! It will just have to be maintained by someone as the bits and pieces change quickly.

jlooper avatar Sep 17 '15 13:09 jlooper

Please create the installer as I have nearly spent two days and cannot get native new release 1.3.0 to work at all this is getting really annoying now

atul221282 avatar Sep 18 '15 14:09 atul221282

I think this is the best idea so far!!

Agree! Setting up (android) environment is a burden.

Be careful though. Many developers most probably have some of the tools installed needed to do {N} development, and they may have them installed in unorthodox ways, like actually having the Android SDK installed, but not in the regular place, different Java versions, installing NPM with or without the need for sudo, etc. And the last thing we want to do is to screw up the user's environment for developing other stuff.

emiloberg avatar Sep 18 '15 14:09 emiloberg

Agree..I have got so much love for this framework but amazed that such a nice thing doesn't have a basic packages...well any ways I am going to open an issue with nativescript installation coz i think something is definitely wrong with the new version. I think it expect user to have files at certain location and folder

atul221282 avatar Sep 19 '15 00:09 atul221282

:+1:

burkeholland avatar Sep 25 '15 18:09 burkeholland

Here is one line installation for Mac OS X:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/NativeScript/nativescript-cli/master/setup/native-script.rb)"

Please give it a try and share any feedback.

ligaz avatar Sep 28 '15 17:09 ligaz

well Let say if I format my pc and run that command ( I am going to format it anyways), will that install it? Is there any prerequisite before running this command?

atul221282 avatar Sep 28 '15 23:09 atul221282

No, there is no prerequisite. Please give it a try.

valentinstoychev avatar Sep 30 '15 11:09 valentinstoychev

I wish I could but I have windows 8 :(

atul221282 avatar Oct 02 '15 07:10 atul221282

Here is the installation for Windows:

http://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/NativeScript/nativescript-cli/totev/setup-win/setup/native-script.txt

Any feedback is more than welcome.

ligaz avatar Oct 02 '15 20:10 ligaz

I tried the Boxstarter.WebLaunch exe but getting the error attached in link below http://pastebin.com/Gc2Xym89

atul221282 avatar Oct 11 '15 02:10 atul221282

@ligaz your one command line installation is good :-D

clouedoc avatar Nov 18 '15 12:11 clouedoc

@atul221282, I am trying to reproduce the issue. What OS are you using? Which browser are you using?

teobugslayer avatar Nov 18 '15 16:11 teobugslayer

@teobugslayer Hi Mate, I am using windows7 and browser is latest chrome

atul221282 avatar Nov 18 '15 21:11 atul221282

@atul221282,

I am still researching the issue. It seems that when you download the ClickOnce setup using Internet Explorer (I know, I know) or Edge (for Windows 10), it works well. Downloading using Chrome does not work.

Edit. I confirmed that only IE is supported. Sorry for the inconvenience caused!

teobugslayer avatar Nov 19 '15 11:11 teobugslayer

it's all good @teobugslayer . I will check nd see if it works in IE for me. Will update you ASAP.

Regards

atul221282 avatar Nov 19 '15 21:11 atul221282

@ligaz This is perfect! I had no issues whatsoever and the install process was clear. Can we put this in the docs yesterday at least for Mac?

burkeholland avatar Jan 28 '16 14:01 burkeholland

We are doing some final testing on those scripts. Once verified we will feature them on the site (@valentinstoychev) and the docs as well. I guess @tjvantoll can point to them in the getting started tutorial as well.

ligaz avatar Feb 01 '16 13:02 ligaz

Closing in favor of https://github.com/NativeScript/NativeScript/issues/1556

enchev avatar Mar 15 '16 09:03 enchev

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Aug 30 '19 07:08 lock[bot]