Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DouglasHennrich/dec9ce03e10b00a8d97a6fe065db1298 to your computer and use it in GitHub Desktop.
Save DouglasHennrich/dec9ce03e10b00a8d97a6fe065db1298 to your computer and use it in GitHub Desktop.
Update Appc-CLI Alloy to 1.9.0
  • First you need to remove the current version of appc-cli alloy.

~/.appcelerator/install/For CLI Version/package/node_modules/

delete the folder alloy

  • Go back to package folder and edit package.json file

change the alloy version from ~1.8.0 to 1.9.0

inside the ~/.appcelerator/install/For CLI Version/package folder run the command npm install

it should download the alloy's version 1.9.0

Run appc alloy -v ---> 1.9.0

If that don't work!

  • repeat the steps until npm install

Download the Alloy Package npm install -g Alloy

copy all files inside this package where alloy <-- Alloy Package folder

go back to ~/.appcelerator/install/For CLI Version/package/node_modules/

create a folder called alloy and paste the files you have copied.

Run appc alloy -v

Remember to clean your project to change things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment