Skip to content

Installing nativescript on windows machine #10730

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

Open
3 tasks done
RemTech opened this issue Apr 12, 2025 · 1 comment
Open
3 tasks done

Installing nativescript on windows machine #10730

RemTech opened this issue Apr 12, 2025 · 1 comment
Labels
bug-pending-triage Reported bug, pending triage to confirm.

Comments

@RemTech
Copy link

RemTech commented Apr 12, 2025

Issue Description

Desctiption:

  • When I run ns doctor android command after installing nativesript, the error below in the screenshot comes up.

Expected Result:

  • Nativescript to be successfully installed and ready for project creation.

Actual Result:

  • Nativescript not fully installed and project cannot be created.
    Image

Reproduction

Relevant log output (if applicable)

Environment

Image

npx nativescript-envinfo

OS: Windows 11 10.0.26100
CPU: (8) x64 AMD Ryzen 7 4700U with Radeon Graphics
Shell: Not Found
node: 22.12.0
npm: 10.9.0
nativescript: Not Found

# android
java: Not Found
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found

# ios
xcode: Not Found
cocoapods: Not Found
python: Not Found
python3: Not Found
ruby: Not Found
platforms: Not Found

Dependencies

"dependencies": {},
"devDependencies": {}

Please accept these terms

@RemTech RemTech added the bug-pending-triage Reported bug, pending triage to confirm. label Apr 12, 2025
@jcassidyav
Copy link
Contributor

In your powershell terminal enter

  "USERNAME>$Env:USERNAME"; "USER>$Env:USER" ;  "SUDO_USER>$Env:SUDO_USER"

or just check the value of the environment variables USERNAME, USER, SUDO_USER, one would seem to have the value c:\users\remix whereas it expects it to be just the username i.e. remix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-pending-triage Reported bug, pending triage to confirm.
Projects
None yet
Development

No branches or pull requests

2 participants