{"id":3253,"date":"2024-06-12T10:00:52","date_gmt":"2024-06-12T10:00:52","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=3253"},"modified":"2024-07-02T09:49:53","modified_gmt":"2024-07-02T09:49:53","slug":"how-to-fix-error-while-installing-nodejs-on-ubuntu","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/","title":{"rendered":"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?"},"content":{"rendered":"<p>Are you trying to install NodeJs on your Ubuntu machine but constantly encountering errors? If that is the case, this guide is just for you!<\/p>\n<p>NodeJS, the runtime server environment for JavaScript, has complete support for all operating systems, including Windows, macOS, and Linux (Ubuntu included). It can be installed on any Ubuntu machine using its default \u201capt\u201d package manager and default apt repository.<\/p>\n<p>However, users have encountered various errors while installing NodeJs on their Ubuntu-based operating systems. These errors range from DPKG being broken, consumed, or NodeJs being incorrectly installed constantly. This guide will explain all of the errors that can occur during the installation of NodeJS on your Ubuntu machine and provide their solutions in detail.<\/p>\n\n<p>Let\u2019s get started with the answer!<\/p>\n<h2 id=\"how-to-fix-error-while-installing-nodejs-on-ubuntu\">How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?<\/h2>\n<p>Use the correct \u201capt\u201d command to install NodeJS on your Ubuntu machine with the sudo privileges. Otherwise, if you are having a DPKG lock error while trying to install NodeJS from the apt repository, then use the kill command to kill the process that is using the DPKG.<\/p>\n<p>Other than this, users often install NodeJS correctly on their system, but try to access it using the wrong command, which shows them the \u201cNodeJS not found\u201d error. Therefore, use the correct command to access the terminal of \u201cnode\u201d on your system.<\/p>\n<p>Let\u2019s go over these errors and their solutions in detail!<\/p>\n<h3 id=\"use-apt-to-install-nodejs\">Use APT to Install NodeJS<\/h3>\n<p>If you are new to Ubuntu or any Linux-based operating system and are trying to install NodeJS on your system, then it is highly likely that you are using the wrong command while trying to install NodeJS.<\/p>\n<p>The first thing you want to do is to ensure that there is no previous installation of NodeJS on your Ubuntu system, which you can do by opening a new terminal\u00a0 (CTRL + ALT + T) and executing the following commands inside it.<\/p>\n<pre>node\r\nnodejs<\/pre>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/1-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3254\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/1-10.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"970\" height=\"245\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/1-10.png 970w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/1-10-300x76.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/1-10-768x194.png 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/a><\/p>\n<p>As you can see from the output image above, the commands \u201cnode\u201d and \u201cnodejs\u201d were not found, meaning there is no previous installation.<\/p>\n<p>Therefore, the next thing that you want to do is to update the apt packages list by running the following command inside the terminal.<\/p>\n<pre>sudo apt update<\/pre>\n<p>However, executing the above command will require you to have sudo or root user privileges, and you will be prompted to provide the sudo password to execute the command.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/2-11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3255\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/2-11.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"973\" height=\"128\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/2-11.png 973w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/2-11-300x39.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/2-11-768x101.png 768w\" sizes=\"auto, (max-width: 973px) 100vw, 973px\" \/><\/a><\/p>\n<p>Therefore, type in the password for the sudo user and press the \u201cEnter\u201d key to continue. Once the apt packages have been updated, you can install NodeJS using the \u201cApt\u201d package manager by running the following command.<\/p>\n<pre>sudo apt-get install nodejs<\/pre>\n<p>As you can see, the name of the Node package inside the Ubuntu repository is \u201cnodejs.\u201d Once you execute the command, you will be prompted with a confirmation for installing NodeJS on your system.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/3-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3256\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/3-10.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"969\" height=\"469\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/3-10.png 969w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/3-10-300x145.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/3-10-768x372.png 768w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/a><\/p>\n<p>Type \u201cY\u201d into the terminal and press \u201cEnter\u201d to continue the installation process. Once the installation is done, you can verify it by opening the Node Shell. To do this, simply type the following command inside the terminal.<\/p>\n<pre>nodejs<\/pre>\n<p>Once you execute the command, you will see the following output on the terminal that will ensure that the NodeJS has been successfully installed on your system.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/4-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3257\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/4-10.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"970\" height=\"183\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/4-10.png 970w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/4-10-300x57.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/4-10-768x145.png 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/a><\/p>\n<h3 id=\"use-the-correct-command-to-access-nodejs\">Use the Correct Command to Access NodeJS<\/h3>\n<p>A common issue with users new to Ubuntu or Linux is using the wrong command to access the Node shell even after a successful installation. Even though the keywords \u201cnode\u201d and \u201cnodejs\u201d refer to the same package, they can still have different meanings in Ubuntu.<\/p>\n<p>This is an alias issue if you are trying to access the node shell using the command \u201cnode\u201d or \u201cnodejs\u201d after successfully installing it. The package name is \u201cnode js\u201d in Ubuntu, but it can also be accessed by simply typing the keyword \u201cnode\u201d as it is stored as an alias inside the \u201cenv\u201d file.<\/p>\n<p>If anything were to happen to this env configuration, then there is a high chance that the aliases won\u2019t work. Therefore, try using the alternative keyword to see which one works.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/5-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3258\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/5-10.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"977\" height=\"210\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/5-10.png 977w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/5-10-300x64.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/5-10-768x165.png 768w\" sizes=\"auto, (max-width: 977px) 100vw, 977px\" \/><\/a><\/p>\n<p>Suppose you are unsure whether the issue is incorrect installation or command usage. In that case, you can verify the existence of NodeJS on your Ubuntu machine by running the following commands.<\/p>\n<pre>which node\r\nwhich nodejs<\/pre>\n<p>When you execute the above commands, the terminal will display the path of each individual command. This can also help you determine whether the alias is working or not.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/6-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3259\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/6-10.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"971\" height=\"203\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/6-10.png 971w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/6-10-300x63.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/6-10-768x161.png 768w\" sizes=\"auto, (max-width: 971px) 100vw, 971px\" \/><\/a><\/p>\n<h3 id=\"fix-busy-dpkg-lock-error-during-installation\">Fix Busy DPKG Lock Error During Installation<\/h3>\n<p>If you are trying to install any package inside your Ubuntu machine and are met with the error statement \u201cCould not get lock xx\/xx\/dpkg,\u201d a busy Dpkg causes the issue. If any software updates or other installations are running, then the Dpkg gets busy in that process. If you try installing NodeJS with a Busy Dpkg, you get the following error.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/7-9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3260\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/7-9.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"970\" height=\"277\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/7-9.png 970w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/7-9-300x86.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/7-9-768x219.png 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/a><\/p>\n<p>There are a few ways to fix this, including waiting for updates or installations to complete (if any). However, if waiting is not your thing, the second method is to kill the process, keeping the dpkg busy.<\/p>\n<p>To do this, observe the error statement as it mentions the PID (process ID) of the process holding the DPKG, for example.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/8-9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3261\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/8-9.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"971\" height=\"296\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/8-9.png 971w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/8-9-300x91.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/8-9-768x234.png 768w\" sizes=\"auto, (max-width: 971px) 100vw, 971px\" \/><\/a><\/p>\n<p>After that, use the following command template to kill the respective process using its PID.<\/p>\n<pre>sudo kill -i9 &lt;process_ID&gt;<\/pre>\n<p>To follow up with the example showcased in the image above, the kill command will be as follows.<\/p>\n<pre>sudo kill -9 6793<\/pre>\n<p>After this, type in the password for the root user (if prompted) and press the \u201cEnter\u201d key to execute the kill command. Once you have done that, re-execute the installation command for the NodeJS, and the installation will work perfectly.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/9-8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3262\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/9-8.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"969\" height=\"677\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/9-8.png 969w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/9-8-300x210.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/9-8-768x537.png 768w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/a><\/p>\n<h3 id=\"fix-the-subprocess-error-code-1-during-nodejs-installation\">Fix the SubProcess Error Code 1 During NodeJS Installation<\/h3>\n<p>If you are trying to install NodeJS on your Ubuntu machine but are constantly met with the error statement \u201cDpkg: subprocess was killed by signal (broken pipe)\u201d or the statement that the subprocess exited with the error code 1, then you need to purge your system of any previous installation of NodeJS and re-install node from the start.<\/p>\n<p>The error of subprocess exited with error code 1 occurs when you are trying to install different versions of NodeJS in the same Ubuntu system. When you try to install NodeJS with its Debian file while having a version installed through apt, things get a little messy.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/10-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3263\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/10-5.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"1123\" height=\"312\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/10-5.png 1123w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/10-5-300x83.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/10-5-1024x284.png 1024w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/10-5-768x213.png 768w\" sizes=\"auto, (max-width: 1123px) 100vw, 1123px\" \/><\/a><\/p>\n<p>You would use the Debian file to install a specific version of NodeJS for many reasons, but you will encounter this error when you unpack the Debian file.<\/p>\n<p>To manage this error, you need to either use the NPM package manager to deal with different versions of NodeJS or completely remove the previous installations and install your preferred version through its Debian file.<\/p>\n<p>To do this, open up a new terminal session and remove the new source\u2019s link by running the following commands.<\/p>\n<pre>cd \/etc\/apt\/sources.list.d\r\nsudo rm nodesource.list<\/pre>\n<p>Once that is done, update your apt packages list and fix any broken packages by running the following commands in the terminal.<\/p>\n<pre>sudo apt --fix-broken install\r\nsudo apt update<\/pre>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/11-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3264\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/11-5.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"968\" height=\"547\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/11-5.png 968w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/11-5-300x170.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/11-5-768x434.png 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/a><\/p>\n<p>After updating the apt packages list, remove the current version of NodeJS and NodeJS-doc by running the following command.<\/p>\n<pre>sudo apt remove nodejs &amp;&amp; sudo apt remove nodejs-doc<\/pre>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/12-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3265\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/12-4.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"975\" height=\"315\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/12-4.png 975w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/12-4-300x97.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/12-4-768x248.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/a><\/p>\n<p>Type \u201cY\u201d and press the \u201cEnter\u201d key to confirm the uninstallation process and wait for it to complete fully. After that, remove any left-over files or symbolic links by running the following command.<\/p>\n<pre>sudo apt-get autoremove<\/pre>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/13-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3266\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/13-3.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"976\" height=\"239\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/13-3.png 976w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/13-3-300x73.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/13-3-768x188.png 768w\" sizes=\"auto, (max-width: 976px) 100vw, 976px\" \/><\/a><\/p>\n<p>Once that is done, you can install the NodeJS version of your choice using its Debian file without any error.<\/p>\n<div class=\"cl-preview-section\">\n<h3 id=\"affordable-vps-hosting-with-dracula-servers\"><span style=\"color: #ff2600;\">Affordable VPS Hosting With Dracula Servers<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Looking for reliable and budget-friendly Virtual Private Server (VPS) hosting? Look no further than\u00a0<a href=\"https:\/\/draculaservers.com\/\">Dracula Servers<\/a>. Dracula Servers offers a range of VPS hosting plans tailored to meet diverse needs. With competitive pricing, robust performance, and a user-friendly interface, it\u2019s an excellent choice for individuals and businesses alike.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Explore the\u00a0<a href=\"https:\/\/draculaservers.com\/\">Dracula Servers website<\/a> to discover hosting solutions that align with your requirements and take your online presence to new heights with their affordable and efficient VPS hosting services.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><a href=\"https:\/\/draculaservers.com\/\"><strong>Visit Dracula Servers<\/strong><\/a>\u00a0and experience reliable VPS hosting without breaking the bank.<\/p>\n<\/div>\n<h3 id=\"create-symbolic-link-post-installation\">Create Symbolic Link &#8211; Post Installation<\/h3>\n<p>As mentioned earlier, the \u201cnode\u201d and the \u201cnodejs\u201d are separate commands with different meanings. If you are trying to access the NodeJS shell by using the command \u201cnode\u201d or trying to run a node project with the keyword \u201cnode\u201d and are met with the error \u201ccommand not found,\u201d then you can simply use the keyword \u201cnode js\u201d instead of \u201cnode.\u201d<\/p>\n<p>However, another solution for this issue is to create a symbolic link so that you can use the \u201cnode\u201d keyword to access NodeJS.\u00a0 To do this, open up a new terminal session and execute the following command.<\/p>\n<pre>sudo ln -s \/usr\/bin\/nodejs \/usr\/bin\/node<\/pre>\n<p>Once done, you can verify it by accessing the NodeJS shell using the command \u201cnode\u201d inside the terminal, giving you the following output.<\/p>\n<p><a href=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/14-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3267\" src=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/14-2.png\" alt=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\" width=\"966\" height=\"159\" srcset=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/14-2.png 966w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/14-2-300x49.png 300w, https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/14-2-768x126.png 768w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\" \/><\/a><\/p>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>Installing NodeJS on a Ubuntu machine is a straightforward task. However, it can still come across various errors. If you cannot install NodeJS on your Ubuntu machine, then ensure that you are using the correct package name for Node in the \u201capt install\u201d command, as it is common for new users to assume that the package is called \u201cnode\u201d instead of \u201cNodeJS.\u201d<\/p>\n<p>If you have successfully installed NodeJS on your Ubuntu machine but are unable to access it using the keyword \u201cnode,\u201d then you can either use the keyword \u201cnode js\u201d or simply create a symbolic link that will allow you to use the keyword \u201cnode.\u201d If you are getting the error that the dpkg is busy, find the process ID of the process holding the dpkg and kill it using the \u201ckill\u201d command.<\/p>\n<p>Lastly, if you are trying to install a different version of node using its Debian package while having a version installed through apt, then first remove the previous version from your system.<\/p>\n<p>Check out More Linux Tutorials <a href=\"https:\/\/draculaservers.com\/tutorials\/\" target=\"_blank\" rel=\"noopener\">Here!<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you trying to install NodeJs on your Ubuntu machine but constantly encountering errors? If that is the case, this guide is just for you! NodeJS, the runtime server environment for JavaScript, has complete support for all operating systems, including Windows, macOS, and Linux (Ubuntu included). It can be installed on any Ubuntu machine using [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[488,491,489,490],"class_list":["post-3253","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-fix-nodejs-ubuntu","tag-nodejs-not-found","tag-nodejs-not-installing-on-ubuntu","tag-nodejs-not-working-on-ubuntu"],"blocksy_meta":[],"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12.png",1280,720,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12-300x169.png",300,169,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12-768x432.png",768,432,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12-1024x576.png",1024,576,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12.png",1280,720,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12.png",1280,720,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>Are you trying to install NodeJs on your Ubuntu machine but constantly encountering errors? If that is the case, this guide is just for you! NodeJS, the runtime server environment for JavaScript, has complete support for all operating systems, including Windows, macOS, and Linux (Ubuntu included). It can be installed on any Ubuntu machine using its default \u201capt\u201d package manager and default apt repository. However, users have encountered various errors while installing NodeJs on their Ubuntu-based operating systems. These errors range from DPKG being broken, consumed, or NodeJs being incorrectly installed constantly. This guide will explain all of the errors&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/ubuntu\/\" rel=\"category tag\">Ubuntu<\/a>","author_info_v2":{"name":"Abdul Mannan","url":"https:\/\/draculaservers.com\/tutorials\/author\/abdul-mannan-tbgmail-com\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu? - Dracula Servers Tutorials<\/title>\n<meta name=\"description\" content=\"Retry the installation with a custom repo, ensure that the node is working by using its alias. Lastly, create a symbolic link.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu? - Dracula Servers Tutorials\" \/>\n<meta property=\"og:description\" content=\"Retry the installation with a custom repo, ensure that the node is working by using its alias. Lastly, create a symbolic link.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-12T10:00:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-02T09:49:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abdul Mannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abdul Mannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/\"},\"author\":{\"name\":\"Abdul Mannan\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\"},\"headline\":\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\",\"datePublished\":\"2024-06-12T10:00:52+00:00\",\"dateModified\":\"2024-07-02T09:49:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/\"},\"wordCount\":1635,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Dracula-Servers-Thumbnail-12.png\",\"keywords\":[\"Fix NodeJS Ubuntu\",\"nodejs not found\",\"NodeJs not installing on Ubuntu\",\"Nodejs not working on Ubuntu\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/\",\"name\":\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu? - Dracula Servers Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Dracula-Servers-Thumbnail-12.png\",\"datePublished\":\"2024-06-12T10:00:52+00:00\",\"dateModified\":\"2024-07-02T09:49:53+00:00\",\"description\":\"Retry the installation with a custom repo, ensure that the node is working by using its alias. Lastly, create a symbolic link.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Dracula-Servers-Thumbnail-12.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Dracula-Servers-Thumbnail-12.png\",\"width\":1280,\"height\":720,\"caption\":\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/how-to-fix-error-while-installing-nodejs-on-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\",\"name\":\"Abdul Mannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"caption\":\"Abdul Mannan\"},\"description\":\"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu? - Dracula Servers Tutorials","description":"Retry the installation with a custom repo, ensure that the node is working by using its alias. Lastly, create a symbolic link.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu? - Dracula Servers Tutorials","og_description":"Retry the installation with a custom repo, ensure that the node is working by using its alias. Lastly, create a symbolic link.","og_url":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2024-06-12T10:00:52+00:00","article_modified_time":"2024-07-02T09:49:53+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12.png","type":"image\/png"}],"author":"Abdul Mannan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abdul Mannan","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/"},"author":{"name":"Abdul Mannan","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6"},"headline":"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?","datePublished":"2024-06-12T10:00:52+00:00","dateModified":"2024-07-02T09:49:53+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/"},"wordCount":1635,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12.png","keywords":["Fix NodeJS Ubuntu","nodejs not found","NodeJs not installing on Ubuntu","Nodejs not working on Ubuntu"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/","url":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/","name":"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu? - Dracula Servers Tutorials","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12.png","datePublished":"2024-06-12T10:00:52+00:00","dateModified":"2024-07-02T09:49:53+00:00","description":"Retry the installation with a custom repo, ensure that the node is working by using its alias. Lastly, create a symbolic link.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/07\/Dracula-Servers-Thumbnail-12.png","width":1280,"height":720,"caption":"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?"},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/how-to-fix-error-while-installing-nodejs-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Fix \u201cError While Installing NodeJS\u201d on Ubuntu?"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6","name":"Abdul Mannan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","caption":"Abdul Mannan"},"description":"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot."}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=3253"}],"version-history":[{"count":1,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3253\/revisions"}],"predecessor-version":[{"id":3269,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3253\/revisions\/3269"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/3268"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=3253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=3253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=3253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}