guardicore / guardicore/monkey
Linux and Windows deployment scripts fail to build UI
- Dominant language
- Python
- Stars
- 7.1k
- Forks
- 830
- PR merge metrics
- No merged PRs in 30d
Description
## 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 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.
Contributor guide
Assessment
This issue has not been assessed yet.