What is Box.json?
Box.json is a file in the root of the site which has information about the site such as the author, where the repository is and so on. However, the most relevant to where we are in the course is the dependencies and installPaths nodes.

These allow sites to be recreated quickly with the correct versions of modules to ensure compatibility. Just like the .env, .cfconfig.json and other configuration files allow consistency and flexibility, the box.json file ensures that everyone is using the same versions of the same modules. Experiment
Delete the modules folder (NOT MODELS..MODULES)
From CommandBox from the root of the site, simply type
install. This will recursively install all of the dependencies in the box.json file.
Last updated