Skip to content

Setup script issues #1429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
vchimev opened this issue Jan 27, 2016 · 7 comments
Closed
3 tasks done

Setup script issues #1429

vchimev opened this issue Jan 27, 2016 · 7 comments
Labels
Milestone

Comments

@vchimev
Copy link

vchimev commented Jan 27, 2016

  • the script installs nodejs version 5.1.0. It would be the best to install nodejs LTS version.
  • the script fails to install android build tools.
    Output: Error: Ignoring unknown package filter 'build-tools-23.0.2'
  • the command npm install -g nativescript fails due to npm not found.
@vchimev vchimev added the bug label Jan 27, 2016
teobugslayer added a commit that referenced this issue Jan 27, 2016
Fix Android SDK installation
Fix nativescript cli installation

See #1429
@vchimev
Copy link
Author

vchimev commented Jan 28, 2016

Everything was successfully installed, but the setup script failed with a write error.

Log: https://gist.github.com/vchimev/e90a0f9a3ab1f7aa54a4

Screenshot:
boxstarter

@vchimev
Copy link
Author

vchimev commented Jan 28, 2016

If I have already installed node.js it is not detected. The script tries to install it again and fails.

Log: https://gist.github.com/vchimev/d8168ded51d192f7416c

Screenshot:
nodejs

@vchimev
Copy link
Author

vchimev commented Jan 28, 2016

If I have already installed jdk and android sdk they are not detected. The script installs them again.

Log: https://gist.github.com/vchimev/c3381a754fb059596e1c

Screenshot:
jdk

@vchimev
Copy link
Author

vchimev commented Jan 28, 2016

The NPM warnings of the NativeScript CLI installation are colored in red, they can be mistaken for errors and make harder to see the real errors if any.

Screenshot:
tns

@teobugslayer
Copy link
Contributor

About the red text, it is beyond my control.
About failing re-installations, I'll fix them.
About the first reported fail, I cannot reproduce it. I'll try couple more times.

@teobugslayer teobugslayer added this to the 1.6.0 milestone Feb 8, 2016
teobugslayer added a commit that referenced this issue Feb 8, 2016
 - No longer uses BoxStarter, instead it is a plain PowerShell script
 - Force re-installation of dependencies
 - Can self-elevate when needed but in this case only PRODUCTION branch can be used

See #1429
teobugslayer added a commit that referenced this issue Feb 10, 2016
 - No longer uses BoxStarter, instead it is a plain PowerShell script
 - Force re-installation of dependencies
 - Can self-elevate when needed but in this case only PRODUCTION branch can be used
 - updated version of node
 - fixed to run on PowerShell v2

See #1429
@dtopuzov
Copy link
Contributor

The script does not install "Local Maven repository for Support Libraries" which is required by tns (and doctor report it)

@dtopuzov dtopuzov changed the title Windows setup script issues Setup script issues Mar 28, 2016
@dtopuzov dtopuzov modified the milestones: 1.7.1, 1.6.0, 2.0 Mar 28, 2016
@enchev enchev closed this as completed Jun 2, 2016
@enchev
Copy link
Contributor

enchev commented Jun 9, 2016

Already done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants