Node won't upgrade beyond v6.11.2












0















When I run node -v I see:



node -v
v6.11.2


I run brew update, brew upgrade, and update all npm modules every morning when I turn on my MacBook. I have npm 6.4.1.



I went to the Node downloads website, downloaded the installer, and installed v10.13.0. node -v still says v.6.11.2. I restarted my computer, ran the install again, no change.



I think I see the problem. When I run echo $PATH is see:



/Users/TDK/.rvm/gems/ruby-2.2.3/bin:
/Users/TDK/.rvm/gems/ruby-2.2.3@global/bin:
/Users/TDK/.rvm/rubies/ruby-2.2.3/bin:
/Users/TDK/.nvm/versions/node/v6.11.2/bin:
/usr/local/mysql/bin:/Users/TDK/google-cloud-sdk/bin:
/usr/local/heroku/bin:
/usr/local/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/Users/TDK/.rvm/bin


/usr/local/bin is the path to Node, so that's good. But above it is a path to /Users/TDK/.nvm/versions/node/v6.11.2/bin. I need to get rid of that path. I opened /etc/paths and saw:



/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin


It looks like I have another paths file somewhere. All those paths above /usr/local/bin were installed when I was in coding bootcamp, I can get rid of all of them. Where might this other paths file be? I tried Spotlight to search for the first path, it couldn't find any file containing that string.



It looks like these are all path for one specific user /Users/TDK/ (that's me), not global paths for all users. Is there somewhere in /Users/TDK/ with paths? I commented out and then deleted lines involving RVM in the following files, without fixing the problem.



~/.bashrc
~/.bash_profile
~/.profile


I checked these files but didn't see anything suspicious:



/etc/profile
/etc/bashrc


Another thought is that nvm is causing the problem. The path



/Users/TDK/.nvm/versions/node/v6.11.2/bin:


is the problem. Maybe instead of removing this path I can alter nvm to point to the latest version of node?










share|improve this question




















  • 1





    Remove the Homebrew-installed Node.js, and (possibly) re-install from the official installer. And make sure that it's not caused by nvm (run nvm current on the command line and see if that returns anything).

    – robertklep
    Nov 25 '18 at 14:55













  • You have nvm installed. Check nvm's way of updating default node version

    – iagowp
    Nov 25 '18 at 15:28
















0















When I run node -v I see:



node -v
v6.11.2


I run brew update, brew upgrade, and update all npm modules every morning when I turn on my MacBook. I have npm 6.4.1.



I went to the Node downloads website, downloaded the installer, and installed v10.13.0. node -v still says v.6.11.2. I restarted my computer, ran the install again, no change.



I think I see the problem. When I run echo $PATH is see:



/Users/TDK/.rvm/gems/ruby-2.2.3/bin:
/Users/TDK/.rvm/gems/ruby-2.2.3@global/bin:
/Users/TDK/.rvm/rubies/ruby-2.2.3/bin:
/Users/TDK/.nvm/versions/node/v6.11.2/bin:
/usr/local/mysql/bin:/Users/TDK/google-cloud-sdk/bin:
/usr/local/heroku/bin:
/usr/local/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/Users/TDK/.rvm/bin


/usr/local/bin is the path to Node, so that's good. But above it is a path to /Users/TDK/.nvm/versions/node/v6.11.2/bin. I need to get rid of that path. I opened /etc/paths and saw:



/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin


It looks like I have another paths file somewhere. All those paths above /usr/local/bin were installed when I was in coding bootcamp, I can get rid of all of them. Where might this other paths file be? I tried Spotlight to search for the first path, it couldn't find any file containing that string.



It looks like these are all path for one specific user /Users/TDK/ (that's me), not global paths for all users. Is there somewhere in /Users/TDK/ with paths? I commented out and then deleted lines involving RVM in the following files, without fixing the problem.



~/.bashrc
~/.bash_profile
~/.profile


I checked these files but didn't see anything suspicious:



/etc/profile
/etc/bashrc


Another thought is that nvm is causing the problem. The path



/Users/TDK/.nvm/versions/node/v6.11.2/bin:


is the problem. Maybe instead of removing this path I can alter nvm to point to the latest version of node?










share|improve this question




















  • 1





    Remove the Homebrew-installed Node.js, and (possibly) re-install from the official installer. And make sure that it's not caused by nvm (run nvm current on the command line and see if that returns anything).

    – robertklep
    Nov 25 '18 at 14:55













  • You have nvm installed. Check nvm's way of updating default node version

    – iagowp
    Nov 25 '18 at 15:28














0












0








0








When I run node -v I see:



node -v
v6.11.2


I run brew update, brew upgrade, and update all npm modules every morning when I turn on my MacBook. I have npm 6.4.1.



I went to the Node downloads website, downloaded the installer, and installed v10.13.0. node -v still says v.6.11.2. I restarted my computer, ran the install again, no change.



I think I see the problem. When I run echo $PATH is see:



/Users/TDK/.rvm/gems/ruby-2.2.3/bin:
/Users/TDK/.rvm/gems/ruby-2.2.3@global/bin:
/Users/TDK/.rvm/rubies/ruby-2.2.3/bin:
/Users/TDK/.nvm/versions/node/v6.11.2/bin:
/usr/local/mysql/bin:/Users/TDK/google-cloud-sdk/bin:
/usr/local/heroku/bin:
/usr/local/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/Users/TDK/.rvm/bin


/usr/local/bin is the path to Node, so that's good. But above it is a path to /Users/TDK/.nvm/versions/node/v6.11.2/bin. I need to get rid of that path. I opened /etc/paths and saw:



/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin


It looks like I have another paths file somewhere. All those paths above /usr/local/bin were installed when I was in coding bootcamp, I can get rid of all of them. Where might this other paths file be? I tried Spotlight to search for the first path, it couldn't find any file containing that string.



It looks like these are all path for one specific user /Users/TDK/ (that's me), not global paths for all users. Is there somewhere in /Users/TDK/ with paths? I commented out and then deleted lines involving RVM in the following files, without fixing the problem.



~/.bashrc
~/.bash_profile
~/.profile


I checked these files but didn't see anything suspicious:



/etc/profile
/etc/bashrc


Another thought is that nvm is causing the problem. The path



/Users/TDK/.nvm/versions/node/v6.11.2/bin:


is the problem. Maybe instead of removing this path I can alter nvm to point to the latest version of node?










share|improve this question
















When I run node -v I see:



node -v
v6.11.2


I run brew update, brew upgrade, and update all npm modules every morning when I turn on my MacBook. I have npm 6.4.1.



I went to the Node downloads website, downloaded the installer, and installed v10.13.0. node -v still says v.6.11.2. I restarted my computer, ran the install again, no change.



I think I see the problem. When I run echo $PATH is see:



/Users/TDK/.rvm/gems/ruby-2.2.3/bin:
/Users/TDK/.rvm/gems/ruby-2.2.3@global/bin:
/Users/TDK/.rvm/rubies/ruby-2.2.3/bin:
/Users/TDK/.nvm/versions/node/v6.11.2/bin:
/usr/local/mysql/bin:/Users/TDK/google-cloud-sdk/bin:
/usr/local/heroku/bin:
/usr/local/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/Users/TDK/.rvm/bin


/usr/local/bin is the path to Node, so that's good. But above it is a path to /Users/TDK/.nvm/versions/node/v6.11.2/bin. I need to get rid of that path. I opened /etc/paths and saw:



/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin


It looks like I have another paths file somewhere. All those paths above /usr/local/bin were installed when I was in coding bootcamp, I can get rid of all of them. Where might this other paths file be? I tried Spotlight to search for the first path, it couldn't find any file containing that string.



It looks like these are all path for one specific user /Users/TDK/ (that's me), not global paths for all users. Is there somewhere in /Users/TDK/ with paths? I commented out and then deleted lines involving RVM in the following files, without fixing the problem.



~/.bashrc
~/.bash_profile
~/.profile


I checked these files but didn't see anything suspicious:



/etc/profile
/etc/bashrc


Another thought is that nvm is causing the problem. The path



/Users/TDK/.nvm/versions/node/v6.11.2/bin:


is the problem. Maybe instead of removing this path I can alter nvm to point to the latest version of node?







node.js path






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 26 '18 at 0:29







Thomas David Kehoe

















asked Nov 25 '18 at 14:53









Thomas David KehoeThomas David Kehoe

2,17211435




2,17211435








  • 1





    Remove the Homebrew-installed Node.js, and (possibly) re-install from the official installer. And make sure that it's not caused by nvm (run nvm current on the command line and see if that returns anything).

    – robertklep
    Nov 25 '18 at 14:55













  • You have nvm installed. Check nvm's way of updating default node version

    – iagowp
    Nov 25 '18 at 15:28














  • 1





    Remove the Homebrew-installed Node.js, and (possibly) re-install from the official installer. And make sure that it's not caused by nvm (run nvm current on the command line and see if that returns anything).

    – robertklep
    Nov 25 '18 at 14:55













  • You have nvm installed. Check nvm's way of updating default node version

    – iagowp
    Nov 25 '18 at 15:28








1




1





Remove the Homebrew-installed Node.js, and (possibly) re-install from the official installer. And make sure that it's not caused by nvm (run nvm current on the command line and see if that returns anything).

– robertklep
Nov 25 '18 at 14:55







Remove the Homebrew-installed Node.js, and (possibly) re-install from the official installer. And make sure that it's not caused by nvm (run nvm current on the command line and see if that returns anything).

– robertklep
Nov 25 '18 at 14:55















You have nvm installed. Check nvm's way of updating default node version

– iagowp
Nov 25 '18 at 15:28





You have nvm installed. Check nvm's way of updating default node version

– iagowp
Nov 25 '18 at 15:28












1 Answer
1






active

oldest

votes


















1














Do you want to remove node 6.11.2 from your computer?



If not, just run nvm install node. That will install the lastest node, if you want to install a specific version, run nvm install 10.10.0 instead



Then run nvm use node or nvm run node --version






share|improve this answer
























  • "nvm install node" worked! The path "/Users/TDK/.nvm/versions/node/v6.11.2/bin" had set my computer to always use Nodse v6.11.2. I didn't need to delete the path, I just needed to change the path, which now reads "/Users/TDK/.nvm/versions/node/v11.2.0/bin". The nvm documentation says that "nvm install node" will "download, compile, and install the latest release of node". I'll put "nvm install node" into my checklist for regular software updates.

    – Thomas David Kehoe
    Nov 26 '18 at 0:42











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53468722%2fnode-wont-upgrade-beyond-v6-11-2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Do you want to remove node 6.11.2 from your computer?



If not, just run nvm install node. That will install the lastest node, if you want to install a specific version, run nvm install 10.10.0 instead



Then run nvm use node or nvm run node --version






share|improve this answer
























  • "nvm install node" worked! The path "/Users/TDK/.nvm/versions/node/v6.11.2/bin" had set my computer to always use Nodse v6.11.2. I didn't need to delete the path, I just needed to change the path, which now reads "/Users/TDK/.nvm/versions/node/v11.2.0/bin". The nvm documentation says that "nvm install node" will "download, compile, and install the latest release of node". I'll put "nvm install node" into my checklist for regular software updates.

    – Thomas David Kehoe
    Nov 26 '18 at 0:42
















1














Do you want to remove node 6.11.2 from your computer?



If not, just run nvm install node. That will install the lastest node, if you want to install a specific version, run nvm install 10.10.0 instead



Then run nvm use node or nvm run node --version






share|improve this answer
























  • "nvm install node" worked! The path "/Users/TDK/.nvm/versions/node/v6.11.2/bin" had set my computer to always use Nodse v6.11.2. I didn't need to delete the path, I just needed to change the path, which now reads "/Users/TDK/.nvm/versions/node/v11.2.0/bin". The nvm documentation says that "nvm install node" will "download, compile, and install the latest release of node". I'll put "nvm install node" into my checklist for regular software updates.

    – Thomas David Kehoe
    Nov 26 '18 at 0:42














1












1








1







Do you want to remove node 6.11.2 from your computer?



If not, just run nvm install node. That will install the lastest node, if you want to install a specific version, run nvm install 10.10.0 instead



Then run nvm use node or nvm run node --version






share|improve this answer













Do you want to remove node 6.11.2 from your computer?



If not, just run nvm install node. That will install the lastest node, if you want to install a specific version, run nvm install 10.10.0 instead



Then run nvm use node or nvm run node --version







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 25 '18 at 15:32









iagowpiagowp

1,40511224




1,40511224













  • "nvm install node" worked! The path "/Users/TDK/.nvm/versions/node/v6.11.2/bin" had set my computer to always use Nodse v6.11.2. I didn't need to delete the path, I just needed to change the path, which now reads "/Users/TDK/.nvm/versions/node/v11.2.0/bin". The nvm documentation says that "nvm install node" will "download, compile, and install the latest release of node". I'll put "nvm install node" into my checklist for regular software updates.

    – Thomas David Kehoe
    Nov 26 '18 at 0:42



















  • "nvm install node" worked! The path "/Users/TDK/.nvm/versions/node/v6.11.2/bin" had set my computer to always use Nodse v6.11.2. I didn't need to delete the path, I just needed to change the path, which now reads "/Users/TDK/.nvm/versions/node/v11.2.0/bin". The nvm documentation says that "nvm install node" will "download, compile, and install the latest release of node". I'll put "nvm install node" into my checklist for regular software updates.

    – Thomas David Kehoe
    Nov 26 '18 at 0:42

















"nvm install node" worked! The path "/Users/TDK/.nvm/versions/node/v6.11.2/bin" had set my computer to always use Nodse v6.11.2. I didn't need to delete the path, I just needed to change the path, which now reads "/Users/TDK/.nvm/versions/node/v11.2.0/bin". The nvm documentation says that "nvm install node" will "download, compile, and install the latest release of node". I'll put "nvm install node" into my checklist for regular software updates.

– Thomas David Kehoe
Nov 26 '18 at 0:42





"nvm install node" worked! The path "/Users/TDK/.nvm/versions/node/v6.11.2/bin" had set my computer to always use Nodse v6.11.2. I didn't need to delete the path, I just needed to change the path, which now reads "/Users/TDK/.nvm/versions/node/v11.2.0/bin". The nvm documentation says that "nvm install node" will "download, compile, and install the latest release of node". I'll put "nvm install node" into my checklist for regular software updates.

– Thomas David Kehoe
Nov 26 '18 at 0:42




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53468722%2fnode-wont-upgrade-beyond-v6-11-2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

TypeError: fit_transform() missing 1 required positional argument: 'X'