Paket crashes when `HOME` is not set
Open
Nobody has claimed this yet.
bug
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
This seems to happen in Azure DevOps Pipelines when running as root:
https://github.com/isaacabraham/vsts-fsharp/issues/33
Repro steps
- Unset
HOMEon linux - Run the netcore version of paket (I think the full framework one might not have this problem)
Expected behavior
Paket works
Actual behavior
Paket crashes
Known workarounds
Set HOME
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on Linux with HOME unset, using the netcore version of Paket as described. Trace the startup path to identify where the missing environment variable causes the crash. Done means Paket runs successfully without HOME, while preserving the existing workaround of setting HOME.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100