{"id":2842,"date":"2017-06-12T17:58:33","date_gmt":"2017-06-12T08:58:33","guid":{"rendered":"http:\/\/blog.rutake.com\/techmemo\/?p=2842"},"modified":"2017-06-12T17:58:33","modified_gmt":"2017-06-12T08:58:33","slug":"npm-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84%e6%99%82%e3%81%afnode_modules%e4%bb%a5%e4%b8%8b%e3%82%92%e5%9b%ba%e3%82%81%e3%81%a6%e6%8c%81%e3%81%a3","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2017\/06\/12\/npm-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84%e6%99%82%e3%81%afnode_modules%e4%bb%a5%e4%b8%8b%e3%82%92%e5%9b%ba%e3%82%81%e3%81%a6%e6%8c%81%e3%81%a3\/","title":{"rendered":"npm \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u6642\u306fnode_modules\u4ee5\u4e0b\u3092\u56fa\u3081\u3066\u6301\u3063\u3066\u304f\u308b"},"content":{"rendered":"<p>\u306a\u3093\u304b\u308f\u304b\u3089\u306a\u3044\u304cnpm\u306f\u4f9d\u5b58\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u53d6\u5f97\u306b\u95a2\u3057\u3066\u4e0d\u5b89\u5b9a\u306a\u3068\u3053\u308d\u304c\u3042\u308b\u3002<\/p>\n<p>npm install\u3057\u305f\u3068\u304d\u306b\u3046\u307e\u304f\u3044\u3063\u305f\u5834\u5408\u3001\u305d\u306e\u74b0\u5883\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u52e7\u3081\u308b\u3002<\/p>\n<p>\u4eca\u56de\u3082\u65b0\u898f\u4f5c\u6210\u3057\u305f\u74b0\u5883\u3067npm install\u6642\u306b\u30a8\u30e9\u30fc<\/p>\n<p>[shell]<br \/>\nnpm ERR! network tunneling socket could not be established, cause=connect EINVAL<br \/>\nnpm ERR! network This is most likely not a problem with npm itself<br \/>\nnpm ERR! network and is related to network connectivity.<br \/>\nnpm ERR! network In most cases you are behind a proxy or have bad network settings.<br \/>\nnpm ERR! network<br \/>\nnpm ERR! network If you are behind a proxy, please make sure that the<br \/>\nnpm ERR! network &#8216;proxy&#8217; config is set properly.  See: &#8216;npm help config&#8217;<br \/>\n[\/shell]<\/p>\n<p>\u610f\u8a33\uff1a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u304c\u78ba\u7acb\u3067\u304d\u306a\u304b\u3063\u305f\u3002\u3053\u308c\u306fnpm\u306e\u554f\u984c\u3067\u306f\u306a\u3044\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3002\u307b\u3068\u3093\u3069\u306e\u5834\u5408\u306fproxy\u304b\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u305b\u3044\u3067\u3042\u308b\u3002proxy\u5229\u7528\u306e\u5834\u5408\u306f\u6b63\u3057\u304f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304bnpm help config\u3092\u898b\u3066\u78ba\u8a8d\u3057\u3066\u306d\u3002<\/p>\n<p>\u3057\u304b\u3057\u5b9f\u969b\u306b\u306fproxy\u3082\u6b63\u3057\u304f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u306b\u3053\u306e\u6709\u69d8\u3067\u3042\u308b\u3002<br \/>\n\u3053\u3046\u3044\u3046\u6642\u306f\u3059\u3067\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u6210\u529f\u3057\u305f\u30de\u30b7\u30f3\u306enode_modules\u3092tar\u3067\u56fa\u3081\u3066\u3001\u30c0\u30e1\u306a\u30de\u30b7\u30f3\u306b\u6301\u3063\u3066\u304f\u308b\u3002<\/p>\n<p>\u305d\u306e\u3042\u3068\u3067\u5c55\u958b\u3057\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u6709\u52b9\u671f\u9650\u3092\u4f38\u3070\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u30cd\u30c3\u30c8\u306b\u898b\u306b\u884c\u304b\u306a\u3044\u306e\u3067\u8b0e\u306e\u30a8\u30e9\u30fc\u3082\u56de\u907f\u3067\u304d\u308b\u3002<br \/>\n[shell]<br \/>\nnpm install &#8211;cache-min 99999999999<br \/>\n[\/shell]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306a\u3093\u304b\u308f\u304b\u3089\u306a\u3044\u304cnpm\u306f\u4f9d\u5b58\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u53d6\u5f97\u306b\u95a2\u3057\u3066\u4e0d\u5b89\u5b9a\u306a\u3068\u3053\u308d\u304c\u3042\u308b\u3002 n &hellip; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2017\/06\/12\/npm-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84%e6%99%82%e3%81%afnode_modules%e4%bb%a5%e4%b8%8b%e3%82%92%e5%9b%ba%e3%82%81%e3%81%a6%e6%8c%81%e3%81%a3\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[541,366],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2842"}],"collection":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/comments?post=2842"}],"version-history":[{"count":1,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2842\/revisions"}],"predecessor-version":[{"id":2843,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2842\/revisions\/2843"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=2842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=2842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=2842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}