init setup didn't work #65
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills#65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
follwing the setup instrcutions, the install script didn't configure the modules.
I had to set them up manually
Bug details:
When install.nu is run via
nu /path/to/install.nu,$env.FILE_PWDis not set (it's only set when a script is sourced, not when run asnu <file>). AndTOOLS_DIRisn't set either. So it falls back to pwd, which is$REPO_DIR(set bycd "$REPO_DIR"on line 26/50), not$REPO_DIR/tools, So the glob formodules/*.nufinds nothing and no modules get registered.TOOLS_DIR isn't set and glob for modules/*.nu finds nothing and no modules get registeredtoinit setupdidn't work