{"id":1081,"date":"2021-12-09T09:15:52","date_gmt":"2021-12-09T09:15:52","guid":{"rendered":"https:\/\/ethosspace.com\/programmers\/?p=1081"},"modified":"2021-12-09T09:36:48","modified_gmt":"2021-12-09T09:36:48","slug":"how-to-uninstall-cypress-using-windows-command-line","status":"publish","type":"post","link":"https:\/\/ethosspace.com\/programmers\/how-to-uninstall-cypress-using-windows-command-line\/","title":{"rendered":"How to Uninstall cypress using windows command line"},"content":{"rendered":"\n<p>Step1) Open command Prompt (type cmd in search and press Enter)<\/p>\n\n\n\n<p>Step 2) Type command &#8221; npm uninstall cypress&#8221;<\/p>\n\n\n\n<p>The system will start uninstalling cypress and will show the below message.<\/p>\n\n\n\n<p>C:\\Users\\Admin&gt;npm uninstall cypress<\/p>\n\n\n\n<p>removed 163 packages, and audited 1 package in 15s<\/p>\n\n\n\n<p>found 0 vulnerabilities<\/p>\n\n\n\n<p>Step 3) If you get below error then try to navigate to the directory where cypress is installed from the command line <\/p>\n\n\n\n<p><strong>npm ERR! code EPERM<br>npm ERR! syscall mkdir<br>npm ERR! path E:\\<br>npm ERR! errno -4048<br>npm ERR! Error: EPERM: operation not permitted, mkdir &#8216;E:\\&#8217;<br>npm ERR! [Error: EPERM: operation not permitted, mkdir &#8216;E:\\&#8217;] {<br>npm ERR! errno: -4048,<br>npm ERR! code: &#8216;EPERM&#8217;,<br>npm ERR! syscall: &#8216;mkdir&#8217;,<br>npm ERR! path: &#8216;E:\\&#8217;<br>npm ERR! }<br>npm ERR!<br>npm ERR! The operation was rejected by your operating system.<br>npm ERR! It&#8217;s possible that the file was already in use (by a text editor or antivirus),<br>npm ERR! or that you lack permissions to access it.&#8221;<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Step 4) Navigate to the directory where cypress is installed using the cd command in the command line<\/p>\n\n\n\n<p>Step 5) Type command &#8220;npm uninstall cypress&#8221; and press enter<\/p>\n\n\n\n<p>After a couple of seconds, the system will uninstall cypress and will show the below message.<\/p>\n\n\n\n<p>removed 163 packages, and audited 1 package in 6s<\/p>\n\n\n\n<p>found 0 vulnerabilities<\/p>\n\n\n\n<p>If you want to reinstall cypress from step 1 on windows then follow the article <a href=\"https:\/\/ethosspace.com\/programmers\/steps-to-install-cypress-on-windows-using-npm\/\" title=\"Steps to Install Cypress on Windows using npm\">install cypress on windows<\/a>.<\/p>\n\n\n\n<p>To remove dependencies from the package.json file we can use the command &#8220;npm uninstall &lt;name&gt; &#8211;save&#8221;<\/p>\n\n\n\n<p>This will uninstall cypress and also remove dependencies from the package.json file.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step1) Open command Prompt (type cmd in search and press Enter) Step 2) Type command &#8221; npm uninstall cypress&#8221; The system will start uninstalling cypress and will show the below message. C:\\Users\\Admin&gt;npm uninstall cypress removed 163 packages, and audited 1 package in 15s found 0 vulnerabilities Step 3) If you get below error then try [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[21,19,20],"tags":[],"class_list":["post-1081","post","type-post","status-publish","format-standard","hentry","category-cypress","category-java-script","category-software-automation-testing"],"aioseo_notices":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"sparkling-featured":false,"sparkling-featured-fullwidth":false,"tab-small":false},"uagb_author_info":{"display_name":"program45_-rt8nb","author_link":"https:\/\/ethosspace.com\/programmers\/author\/program45_-rt8nb\/"},"uagb_comment_info":0,"uagb_excerpt":"Step1) Open command Prompt (type cmd in search and press Enter) Step 2) Type command &#8221; npm uninstall cypress&#8221; The system will start uninstalling cypress and will show the below message. C:\\Users\\Admin&gt;npm uninstall cypress removed 163 packages, and audited 1 package in 15s found 0 vulnerabilities Step 3) If you get below error then try&hellip;","_links":{"self":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts\/1081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/comments?post=1081"}],"version-history":[{"count":5,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts\/1081\/revisions"}],"predecessor-version":[{"id":1094,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/posts\/1081\/revisions\/1094"}],"wp:attachment":[{"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/media?parent=1081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/categories?post=1081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ethosspace.com\/programmers\/wp-json\/wp\/v2\/tags?post=1081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}