Hey Julianners,
I often faced with a problem like this:
ERROR: LoadError: ArgumentError: Package BinanceAPI does not have RateLimiter in its dependencies:
- You may have a partially installed environment. Try `Pkg.instantiate()`
to ensure all packages in the environment are installed.
- Or, if you have BinanceAPI checked out for development and have
added RateLimiter as a dependency but haven't updated your primary
environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with BinanceAPI
And I felt like I am always stucked resolving the pkgs manually (wasting minutes) as there were problems with development pkgs and registered packages in Project.toml that wasn’t resolved just by running Pkg.resolve().
That’s why I created Cvikli/PkgManager.jl package that automatically able to resolve these kinds of issues.
I would be happy to see your feedbacks. Also, I know it isn’t perfect yet, but it works 99% of the times.
I was thinking about whether we could “allow the package manager to take control when this error arise”. I tried to modify the Base library code, but I see it is harder than just overwriting some Base function for our convenience. Furthermore, I wanted to ask the developers of Julia whether it is possible to review this code and add some more idea to it also prepare it to be as comprehensive as possible and later on just add to the Base library where this ArgumentError is thrown (Do you want to resolve it automatically? (yes(y), no).
Thank you for checking it!