-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
Using Makefile to source with --install or --no-use returns "Error 3" #3177
Comments
On my Mac, when I have no default alias and have I certainly see a lot of your base utilities are the GNU version, so maybe one of those is the issue. Presumably What happens if you |
Are you doing this with a Makefile that you're calling in an interactive shell within the Docker container? I think Makefile is messing with something.
|
No, certainly not; it's certainly possible make is causing the issue - can you run those commands with |
In docker, each "RUN" needs to re-source nvm.sh due to the way docker works (that's my understanding, at least). Either way, closing since there's been no followup. Happy to reopen if that changes. |
Operating system and version: Ubuntu 22.04.3 LTS in Docker
nvm debug
output:nvm ls
output:How did you install
nvm
?RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
What steps did you perform?
.nvmrc
file with the contentv20.4.0
docker run -it -v $(PWD):/tmp
/tmp
then runmake nvm-install
andmake nvm-no-use
What happened?
Got
Error 3
for both command outputs:What did you expect to happen?
nvm installs the version of node in the .nvmrc file in the directory.
Is there anything in any of your profile files that modifies the
PATH
?No. Nothing in the default .bashrc or .profile files in ubuntu:latest has anything that modifies the path.
The text was updated successfully, but these errors were encountered: