Linked Questions
33 questions linked to/from How to change to an older version of Node.js
2912 votes
38 answers
2.2m views
Homebrew install specific version of formula? [closed]
How do I install a specific version of a formula in homebrew? For example, postgresql-8.4.4 instead of the latest 9.0.
296 votes
39 answers
969k views
Issue with virtualenv - cannot activate
I created a virtualenv around my project, but when I try to activate it I cannot. It might just be syntax or folder location, but I am stumped right now. You can see below, I create the virtualenv ...
105 votes
13 answers
443k views
Why isn't Node Version Manager (NVM) recognized on Windows?
I am trying to downgrade my version of node I ran: npm install nvm and I exported the bin folder to my Windows path variable, C:\Program Files (x86)\nodejs\node_modules\npm\bin but I still get: '...
94 votes
7 answers
116k views
Uncaught TypeError: Object.values is not a function JavaScript
I have a simple object like the one below: var countries = { "Argentina":1, "Canada":2, "Egypt":1, }; I need to create two arrays. The first array is an array of all the keys from the ...
46 votes
15 answers
136k views
Error with npm install - a pre-gyp error
I wanted to install this angular 2 calendar using npm. Tried to use npm to install it and then downloaded it and tried to install it. In both cases its failed. I am on windows and I previously got ...
43 votes
4 answers
43k views
How to uninstall n and all node versions installed by n
I have installed some Node.js versions with the tool n. I have uninstalled all Node.js versions using: sudo n prune except the current (activated) version. If I try to unsinstall the current version: ...
23 votes
7 answers
37k views
Chrome just doesn't finish loading JS files
I am writing an app that includes about 12 short JS files in the <head> section (I know, I should merge them and move them just before the end of <body>; would get to those when in ...
22 votes
5 answers
61k views
Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
i am trying to install all dependencies using npm install command, but while installing it i am getting error like below : ling source file ..\src\threaded_callback_invokation.cc) c:\applatest\...
9 votes
7 answers
8k views
Chrome Devtools Dedicated Node.js Inspector not stopping at breakpoints
There have been a couple of older posts regarding this issue, but date from questions asked in 2013 and 2014 and the answers in there have not helped my case. I have the debugger keyword placed in ...
15 votes
5 answers
9k views
Node.js version and Google Cloud functions
I get this message when I start a local Firebase server with firebase serve: Warning: You're using Node.js v8.9.4 but Google Cloud Functions only supports v6.11.5. But there is no info about what to ...
8 votes
7 answers
25k views
TypeError: Class extends value undefined is not a constructor or null while running next.js
While running npm run dev I suddenly start getting error without pretty much any change to the code of the project: TypeError: Class extends value undefined is not a constructor or null at Object....
31 votes
1 answer
21k views
Failed doing npm install showing error "Undefined variable standalone_static_library in binding.gyp" and node-sass chokidar error
I'm updating a 3 years ago ruby on rails and react project trying to npm install but im stuck here getting this error $ npm install gyp: Undefined variable standalone_static_library in binding.gyp ...
15 votes
4 answers
50k views
npm ERR!: code 127. gyp ERR! stack Error: Command failed
I'm getting the following error while doing npm install: $ npm install npm ERR! code 127 npm ERR! path /home/jesusjimenez/projects/project/node_modules/fibers npm ERR! command failed npm ERR! command ...
4 votes
2 answers
11k views
How I can change node versions for my project?
At the moment npm install/build are using with node 8.9.4 (and with npm 5.6.0). And during deploying some code it always reinstall modules and I spend a lot of time. I know that it should cache ...
8 votes
2 answers
2k views
Debugging node.js with jetbrains variables show 'Collecting data...'
When debugging a node session and you stop in the debugger, the Variables view shows "Collecting data..." but the data never arrives: This happens with node version 0.10.34 and 0.10.35 of node.
3 votes
6 answers
1k views
"react-native start" command gives error
react-native start command gives error.Genrated error is given below. Please help me. react-native start /usr/lib/node_modules/react-native/local-cli/server/checkNodeVersion.js:43 ); ^ ...
2 votes
2 answers
2k views
Switch version of Node.js to 6.11.5 on Windows
I'm using node v8.2.1, but Google Cloud Functions only supports v6.11.5, so I'm looking to switch my node version accordingly (preferably only using npm). How can I do this? How to change to an older ...
1 vote
2 answers
4k views
node-gyp rebuild build error 'make' failed npm install
Getting these errors using npm install on OSX 10.10.5: build error gyp ERR! stack Error: `make` failed with exit code: 69 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/...
0 votes
2 answers
6k views
I want to use Node 14 to run my project but it always runs on Node 12. How to fix this?
It shows node version 12 but with sudo it shows 14, I want to use version 14 in future, How can i configure it to version 14
2 votes
2 answers
2k views
appcenter-cli can't be installed (command not found)
When I do the following, get command not found. For some reason it looks like its referencing 9.11.1 and not 10.11.0 but I'm really not sure what the problem is. $ npm install -g appcenter-cli npm ...
1 vote
2 answers
2k views
Issue with starting React project
I want to start some react project. The issue is when I run the following command: yarn add react-app-rewired -D to install all the required components. Output: Microsoft Windows [Version 10.0.19045....
1 vote
2 answers
3k views
Why am I getting an error about my node version when I have a newer version than is requested?
I'm working on a React project that is deployed using heroku. I just made an update to master and the pipeline failed. I've seen others ask what to do when they get "The engine "node" ...
0 votes
2 answers
2k views
Eslint instalation "A config file was still generated, but the config file itself may not follow your linting rules" How to fix it?
I am instaling eslint into a new empty folder and I received this message: An error occurred while generating your JavaScript config file. A config file was still generated, but the config file itself ...
0 votes
1 answer
2k views
Cannot install node version 8.11.2 into my ubuntu machine
I need to install nodejs version8.11.2 into my ubuntu machine. my ubuntu versions is 18.04. In my machine installed node version is 10.0. Although I use 'sudo apt-get remove nodejs' command to ...
2 votes
2 answers
662 views
Heroku: Error 9 when using 'heroku local web' with the Node.js starter project
I'm following the "Getting Started on Heroku with Node.js" tutorial, and I got to the part where I use "heroku local web" to launch my app. When I try, I get this error message: [OKAY] Loaded ENV ....
0 votes
1 answer
1k views
Update the old version of nodejs and npm for Mac
I'm trying to update the old version of Nodejs and Npm for MacBook. My current version: Nodejs v16.13.1 , npm 8.1.2 I want to update the old version again: Nodejs v12.13.0 , npm 6.14.6.0 I have ...
0 votes
1 answer
899 views
problems installing gulp and pdf.js
I'm following this and try to use pdf.js. I've downloaded and extracted the library and now I was trying to install gulp globally as it says on the page but when I run the command C:\Users\xx\Desktop\...
1 vote
0 answers
604 views
Getting started with AngularJS on ubuntu vagrant virtualbox, npm start fails
I am following the tutorial on https://docs.angularjs.org/tutorial to get started with AngularJS on my ubuntu vagrant virtualbox. I believe that I have followed all of the steps, but I can't get ...
1 vote
2 answers
539 views
Cannot debug Nodejs with node-inspector - Websocket_closed
I know that these are some similar / duplicate responses when searching for a solution to this. But the Node world seems to update so regularly that any answers I've found are refering to a much older ...
0 votes
0 answers
404 views
Installing Node.js via curl doesn't work
I am attempting to follow the instructions here: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions When I try to install Node.js on my Linux Mint I get the ...