I am trying to install Appcelerator CLI and SDK, but I get errors all the time. I´m using Windows.
When I do npm install appcelerator -g
, in cmd, (run as admin) I get:
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
changed 122 packages, and audited 123 packages in 9s
4 packages are looking for funding
run `npm fund` for details
2 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
And, when I run appc
, in cmd (run as admin) I get program.allowUnknownOption is not a function
.
When I install the extension in VSCode, as detailed on VSCode official marketplace and Titanium WebSite, and the click "Install Tooling", this Titanium SDK Titanium Updates: Installing Titanium SDK: 10.1.1.GA (1/1)
simply doesn´t install.
Please, someone help me install the CLI and the Titanium SDK. (I know I have to use it in VSCode).
Since you didn't mention your nodejs version (sounds like a wrong one, use nodejs 14 to be safe) do the following steps as mentioned on https://github.com/m1ga/from_zero_to_app/blob/master/installation.md#quick-install
I've updated a existing setup but i wasn't using it for a longer time so it is the same as a new install:
npm i -g titanium alloy appcelerator
That said: please make sure to start use the ti
cli instead of appc
. You can enable the open source version in the VSCode package.
Here is a tutorial which steps you'll need to do when switching the CLI: https://github.com/m1ga/from_zero_to_app/blob/master/appc_to_ti.md