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

bug: asdf cannot resolve config paths with whitespace in them #378

Open
nix6839 opened this issue Nov 13, 2023 · 2 comments
Open

bug: asdf cannot resolve config paths with whitespace in them #378

nix6839 opened this issue Nov 13, 2023 · 2 comments

Comments

@nix6839
Copy link

nix6839 commented Nov 13, 2023

From original issue with more context: asdf-vm/asdf-ruby#270

If $ASDF_DATA_DIR is set to a path with whitespace in it, the asdf-nodejs plugin cannot do the business:

$ echo $ASDF_DATA_DIR
/Users/user/Library/Application Support/asdf

$ node
bash: /Users/user/Library/Application: No such file or directory
bash: get_preset_version_for: command not found
No version is set for command node
Consider adding one of the following versions in your config file at
nodejs 18.18.2
@boke0
Copy link

boke0 commented Mar 9, 2024

I faced the problem, and I fixed it by modifing ~/.asdf/shims/node.
Is it going to be fixed?

@augustobmoura
Copy link
Member

I believe this might be a problem for asdf-core itself, the few places we use ASDF_DATA_DIR are all quoted. Can you guys check if updating asdf with asdf update solved the problem?

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

3 participants