Skip to content
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

Unable to install titanium v 12.1.2GA #619

Closed
MohitNemade27 opened this issue Dec 6, 2023 · 14 comments
Closed

Unable to install titanium v 12.1.2GA #619

MohitNemade27 opened this issue Dec 6, 2023 · 14 comments

Comments

@MohitNemade27
Copy link

I was complete all the setup for titanium in vs code and when i am trying "titanium sdk install 12.1.2.GA" this command i got the error.

error

@cb1kenobi
Copy link
Contributor

What happens when you list releases? “ti sdk list -r”

Are you behind a proxy?

@MohitNemade27
Copy link
Author

MohitNemade27 commented Dec 7, 2023

After this ti sdk list -r i got
image
no i am not behind proxy .

@cb1kenobi
Copy link
Contributor

Hmm, appears to be working for me.

Please run ti setup check. In the output, there's a "Network" section. Please ensure things look green like this:

image

@MohitNemade27
Copy link
Author

Appears same to me
image

@cb1kenobi
Copy link
Contributor

ti sdk list -r shows all installed SDKs as well as available SDK releases. Since that says "No releases found", ti sdk install 12.1.2.GA will fail because it thinks there are no releases. The list of releases the CLI tries to download is here: https://downloads.titaniumsdk.com/registry/ga.json. Can you load that .json file?

@MohitNemade27
Copy link
Author

Json is loaded

@cb1kenobi
Copy link
Contributor

For the record, what OS (macOS, Linux, Windows) and Node.js version are you using?

You could also have a wonky Titanium CLI config. You can go to <HOME>/.titanium and rename config.json to config.bak.json (or whatever), then re-run ti sdk list -r.

Another thought is maybe the Titanium CLI install is botched? You could try uninstalling and re-installing the CLI. If you're using npm, it would like:

npm uninstall -g titanium && npm install -g titanium

If you're on Linux/macOS, you may need to specify sudo first.

@MohitNemade27
Copy link
Author

I am using windows 10 Enterprise and Node.js v18.12.0 . Still not found any difference

image

@cb1kenobi
Copy link
Contributor

Hmm, I'm running out of ideas. FWIW, we don't test on PowerShell. Mileage may vary, though ti sdk list -r works in PowerShell for me. Maybe try Command Prompt? Did renaming the config file do anything?

@MohitNemade27
Copy link
Author

In CMD i got the same ,yes renamed config file .Is node v 18 effect this setup ?

@cb1kenobi
Copy link
Contributor

Node.js 18 should totally work. I'm running Node.js 20, but 18 should be fine.

Everything seems to be fine other than the CLI can't seem to download the list of releases from https://downloads.titaniumsdk.com/registry/ga.json. Sadly, we don't show the error if there was a connection issue.

Maybe it's a Windows security thing? Is it possible that node.exe has a firewall rule? I find that hard to believe since that would affect other Node.js programs. You could try npm view titanium since that makes a network call to the npm registry.

Next, I'd try reinstalling.

After that I dunno. I tag @m1ga and maybe he has a suggestion?

@MohitNemade27
Copy link
Author

Okay .

@m1ga
Copy link
Contributor

m1ga commented Dec 7, 2023

closed because you've fixed it?

I don't think I have another idea here. I did install it with Powershell before and was using the normal command prompt with a different client on windows two days ago and that worked too. So no other idea, sorry.

@MohitNemade27 MohitNemade27 reopened this Jan 3, 2024
@cb1kenobi
Copy link
Contributor

It's been over 5 months with no activity. Closing.

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

No branches or pull requests

3 participants