Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't seem to add local package #124

Open
sainttttt opened this issue Jul 4, 2024 · 2 comments
Open

Can't seem to add local package #124

sainttttt opened this issue Jul 4, 2024 · 2 comments

Comments

@sainttttt
Copy link

✝ ~/code/timbrel ✝  atlas use file://../saintnim/
[Info] (/Users/saint/code/timbrel) is the current workspace
[Info] (/Users/saint/code/timbrel/timbrel.nimble) updated
[Info] (timbrel) installing dependencies for timbrel.nimble
[Info] (print) updated package to a9df499a441d997ab9c8658b014e84c561f5528a
/Users/saint/code/atlas/src/atlas.nim(583) atlas
/Users/saint/code/atlas/src/atlas.nim(576) main
/Users/saint/code/atlas/src/atlas.nim(474) main
/Users/saint/code/atlas/src/atlas.nim(222) installDependencies
/Users/saint/code/atlas/src/atlas.nim(197) traverseLoop
/Users/saint/code/atlas/src/depgraphs.nim(564) getCfgPath
/Users/saint/.choosenim/toolchains/nim-2.0.2/lib/system/fatal.nim(53) sysFatal
Error: unhandled exception: index out of bounds, the container is empty [IndexDefect]

I can't seem to add it this way at all. I'm able to get it to work by manually editing the nim.cfg and adding --path:"/Users/saint/code/saintnim/src"

Any idea how to fix this? Thanks!

@Araq
Copy link
Member

Araq commented Jul 4, 2024

Well follow the stack trace and fix the bug.

@sainttttt
Copy link
Author

@Araq Unfortunately I don't know how to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants