{"id":3719,"date":"2016-04-15T02:03:53","date_gmt":"2016-04-15T02:03:53","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=3719"},"modified":"2016-04-15T02:03:53","modified_gmt":"2016-04-15T02:03:53","slug":"visual-studio-code-fixing-error-cannot-find-module-eslint-plugin-react","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/visual-studio-code-fixing-error-cannot-find-module-eslint-plugin-react\/","title":{"rendered":"Visual Studio Code: fixing error &#8220;Cannot find module &#8216;eslint-plugin-react'&#8221;"},"content":{"rendered":"<p>For some reason, installing plugins in Visual Studio Code doesn&#8217;t always pull stuff from NPM correctly.<\/p>\n<p>If you get this error:<\/p>\n<pre>\nCannot find module 'eslint-plugin-react'\n<\/pre>\n<p>This means you need to install this plugin into the global NPM registry:<\/p>\n<pre lang=\"bash\">\nnpm install eslint-plugin-react -g\neslint-plugin-react@4.3.0 C:\\Users\\gary\\AppData\\Roaming\\npm\\node_modules\\eslint-plugin-react\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fixing another annoying Visual Studio Code error<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[9],"tags":[199,302,337,455,573],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/3719"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=3719"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/3719\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=3719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=3719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=3719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}