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

nave install/use version - Fails to install node if user has a shell alias or function called shasum #127

Open
DavidPesticcio opened this issue Nov 11, 2023 · 0 comments

Comments

@DavidPesticcio
Copy link

Suggest using absolute path for shasum in nave.sh at line 226

Adding absolute path for shasum resolves this issue.

FYI: The command not found error below is from my shell function not nave.sh 😉

$ nave install 21.0.0
############################################################################################################################################################################################################ 100.0%
dirname: invalid option -- 'a'
Try 'dirname --help' for more information.
environment: line 13: -asum: command not found
shasum mismatch, expect 013f370f1772197cb4e22f22f2185ee26d2e5f3acdb2f252d11cd214e9a8cdb9, got Checking:
Binary install failed, trying source.
############################################################################################################################################################################################################ 100.0%
dirname: invalid option -- 'a'
Try 'dirname --help' for more information.
environment: line 13: -asum: command not found
shasum mismatch, expect d2c94fe597eef41188e0b30fd194ea86a26daa2c4694a75c5dea35d2c042f0ae, got Checking:
rm: cannot remove '/home/X/.nave/src/21.0.0.tgz': No such file or directory
Couldn't fetch 21.0.0

@DavidPesticcio DavidPesticcio changed the title nave install/use version - Fails to install node if user has a shell alias or function called "shasum" nave install/use version - Fails to install node if user has a shell alias or function called shasum Nov 11, 2023
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

1 participant