![]() We hope this tutorial helps you update to the latest version of Node.js on your respective operating system. So updating to the latest version is a great way to solve this conflict. I found this really neat way of updating node on David Walsh's blog, you can do it by installing n: sudo npm cache clean -f sudo npm install -g n sudo n stable It will install the current stable version of node. For example, if you are using an old version and try to access a method by reading the documentation of the latest version will cause an error. When a new version is presented, the documentation is also updated, and to follow up on that documentation you must install the latest version. ![]() You can either get the latest stable version using sudo n stable Or if you want a specific version like I needed 8.0.0 then you can do this using. sudo npm install -g n Once node helper is installed. Node.js is updating regularly to provide better security, new features and more stability. Step 1: Clean npm cache sudo npm cache clean -f Step 2: Install node helper (n) globally using the following command. Normally, there’s nothing of the defaults that you would have to change.Īfter you’re done, it will have flawlessly completed installing Node.js and upgrading your version of Node.js by replacing it with the new one. ![]() ![]() Updating Node.js with Installer on Windows & macOSīased on your system, you can select from any of the two highlighted installers for Windows and macOS. Simply jump to the downloads page where you will find many Linux binary packages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |