If you run a deployment script on a clean machine, the npm run dist command will fail with errors and the UI will not be built.
To Reproduce
Steps to reproduce the behavior:
Run the deployment script on a clean machine.
Expected behavior
Infection Monkey is successfully deployed.
Root cause
Both deployment scripts use npm update to install dependencies. At the present moment, this results in errors when the UI is built. We should consider using npm ci in the deployment scripts so that known working versions of our dependencies are always deployed. We should also periodically update our dependencies to stay ahead of issues like this.
Describe the bug
If you run a deployment script on a clean machine, the
npm run dist
command will fail with errors and the UI will not be built.To Reproduce
Steps to reproduce the behavior: Run the deployment script on a clean machine.
Expected behavior
Infection Monkey is successfully deployed.
Root cause
Both deployment scripts use
npm update
to install dependencies. At the present moment, this results in errors when the UI is built. We should consider usingnpm ci
in the deployment scripts so that known working versions of our dependencies are always deployed. We should also periodically update our dependencies to stay ahead of issues like this.