Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Contents

Table of Contents
maxLevel5
minLevel2

Node.js is required for several Appcelerator components, including the Axway Appcelerator CLI, Alloy, and the API Builder. Node is also required to build the Titanium SDK from source starting with Release 3.0.

Compatibility and

...

download

Excerpt

To run all Appcelerator components, you must have Node.js 8.0.0 or later.

On Mac OS X and Windows, if you have selected to install Titanium updates, Studio prompts you to install Node.js. On Linux, you need to manually install Node.js.

Section
Column
width66px

Column

Operating System

Min Node Version

Max Node Version

Download Location

macOS / Windows / Linux

8.0

8.9.x

Official Website

...

If you change your prefix after installing npm packages, you will have to reinstall packages. If you change the permissions on /usr/local after installing packages as root, you may need to change the ownership of the npm cache folder, as described in Troubleshooting npm Problems.

Using NPM packages in Titanium

...

The error message indicates the folder is missing.  To resolve this issue, manually create the folder:

Code Block
languagepowershell
mkdir C:\Users\<USER_NAME>\AppData\Roaming\npm

Issues

...

installing NPM packages

If you experience an issue installing any of the npm packages, try the following:

  • Check permissions. If you originally ran npm using sudo, you may need to change the ownership of the npm cache folder.

    Code Block
    languagebash
    sudo chown -R <username> ~/.npmrc

    On Windows, the npm cache defaults to npm-cache in the user's home folder. 

  • Clear the npm package cache:

    Code Block
    languagebash
    npm cache clean
    
  • Remove your .npmrc file.