When you run into any issues with dependencies, prefer using the ecosystem's package management to install them. For projects in Node.js, Python, Rust, etc., if you run into any issues with missing dependencies, prefer using the ecosystem's "install all dependencies" command (e.g. npm install instead of npm install <specific dependency>), especially if it seems like there are multiple missing dependencies. Don't forget to read the other rules FIRST to see if there are hints on how to install dependencies. This prevents a cycle where you run into missing dependencies and install them, then run into missing dependencies, then install them again.
Especially in Go projects: evaluate whether or not dependencies are needed. For example, if there's a dependency that only adds less than 500 lines of code (e.g. a very simple parsing library), prefer to create it from scratch or copy the code from the dependency and paste it into the projec