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

Error about ~/.profile not existing despite it being there #1

Open
asampal opened this issue Mar 1, 2023 · 0 comments
Open

Error about ~/.profile not existing despite it being there #1

asampal opened this issue Mar 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@asampal
Copy link

asampal commented Mar 1, 2023

On installing wasmer latest, an error about not finding ~/.profile is emitted even though the file exists. $PROFILE is not defined.

xxx@xxxxxxx:~$ asdf install wasmer latest
Welcome to the Wasmer bash installer!
downloading: wasmer-linux-amd64
Installing provided version: 2.3.0
Downloading archive from https://github.com/wasmerio/wasmer/releases/download/2.3.0/wasmer-linux-amd64.tar.gz
installing: /home/xxx/.asdf/installs/wasmer/2.3.0
/home/xxx/.asdf/plugins/wasmer/lib/utils.bash: line 126: PROFILE: unbound variable
error: Profile not found. Tried:
*  (as defined in $PROFILE)
* ~/.bashrc
* ~/.bash_profile
* ~/.zshrc
* ~/.profile.
Append the following lines to the correct file yourself:
# Wasmer config
export WASMER_DIR="/home/xxx/.asdf/installs/wasmer/2.3.0"
export WASMER_CACHE_DIR="$WASMER_DIR/cache"
export PATH="$WASMER_DIR/bin:$PATH:$WASMER_DIR/globals/wapm_packages/.bin"
@asampal asampal added the bug Something isn't working label Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant