cannot open file: db_connector/db_sqlite

2024-01-23 Thread Clonk
If you run `atlas use db_connector` it should automatically add it to your local package nimble file

cannot open file: db_connector/db_sqlite

2024-01-23 Thread undefined
Are there plans to make this automated; like how it is done in `npm` for Node.js?

cannot open file: db_connector/db_sqlite

2024-01-22 Thread sergio
Thank you I had manually add that to the .nimble file and it worked. `requires "db_connector >= 0.1.0"`

cannot open file: db_connector/db_sqlite

2024-01-21 Thread Yardanico
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.

cannot open file: db_connector/db_sqlite

2024-01-21 Thread sergio
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

cannot open file: db_connector/db_sqlite

2024-01-21 Thread Clonk
Try `nimble install db_connectors`

cannot open file: db_connector/db_sqlite

2024-01-21 Thread sergio
. /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/.

cannot open file: db_connector/db_sqlite

2024-01-21 Thread penguinite
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.