If you run `atlas use db_connector` it should automatically add it to your
local package nimble file
Are there plans to make this automated; like how it is done in `npm` for
Node.js?
Thank you I had manually add that to the .nimble file and it worked.
`requires "db_connector >= 0.1.0"`
If you're using `nimble` to run/build your project, you also have to add all
packages it depends on into "requires" in the .nimble file.
That package doesn't exist, I assume you mean `db_connector`.
kryten git:(master) ✗ nimble install db_connectors
Prompt: db_connectors not found in any local packages.json, check
internet for updated packages? [y/N]
Y
Answer: Downloading Official package list
Try `nimble install db_connectors`
.
/home/sergio/Work/kryten/src/database.nim(1, 20) Error: cannot open file:
db_connector/db_sqlite
nimble.nim(229) buildFromDir
Error: Build failed for the package: kryten
Info: Nimble data file "/home/sergio/.
Maybe it's the nimble file? Is there a dependency on db_connector in it? If not
then that might be the error, since nimble isn't telling nim to include
db_connector.