When running volta-install, the installation failed to find my user profile, even though I have an existing one at ~/.profile.
Installing latest version of Volta (0.5.6)
Checking for existing Volta installation
Fetching archive for macOS, version 0.5.6
######################################################################## 100.0%
Creating directory layout
Extracting Volta binaries and launchers
x volta
x shim
x load.fish
x load.sh
Creating symlinks and shims
Editing user profile ()
Error: No user profile found.
Tried $PROFILE (), ~/.bashrc, ~/.bash_profile, ~/.zshrc, ~/.profile, and ~/.config/fish/config.fish.
You can either create one of these and try again or add this to the appropriate file:
export VOLTA_HOME="$HOME/.volta"
[ -s "$VOLTA_HOME/load.sh" ] && . "$VOLTA_HOME/load.sh"
export PATH="$VOLTA_HOME/bin:$PATH"
Thanks for the report! Can you also share:
We'll see if we can get a consistent reproduction!
@chriskrycho just to confirm, this bug still exists today in v0.6.3 of volta.
I believe this should be fixed by the improved profile detection logic. Feel free to re-open if that's not the case.
Most helpful comment
@chriskrycho just to confirm, this bug still exists today in v0.6.3 of volta.