Before triggering Elixir, you must first ensure that Node.js is installed on your machine. You will want at least the latest LTS version of Node.
If you generate a ColdBox application using any of our elixir templates then you will find a
package.jsonfile in the root of the application already. Think of this like your
box.jsonfile, except it defines Node dependencies instead of ColdFusion (CFML) dependencies. A typical example can look like this:
It defines ColdBox Elixir as a dev dependency. You may then install the dependencies it references by running:
This will install ColdBox Elixir and its dependencies into the
node_modulesfolder in your root. This folder has been already added to the
.gitignorefile as well, so no need to further ignore it.