{"id":6745,"date":"2022-12-16T06:18:00","date_gmt":"2022-12-15T21:18:00","guid":{"rendered":"https:\/\/auto-worker.com\/blog\/?p=6745"},"modified":"2022-12-16T00:32:35","modified_gmt":"2022-12-15T15:32:35","slug":"post-6745","status":"publish","type":"post","link":"https:\/\/auto-worker.com\/blog\/?p=6745","title":{"rendered":"TypeScript\u3092npm\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u300cpermission denied\u300d\u30a8\u30e9\u30fc\u5bfe\u51e6\u65b9\u6cd5\u3010Mac\u3011"},"content":{"rendered":"\n<p>mac\u7aef\u672b\u3067node.js\u5c0e\u5165\u5f8c\u3001TypeScript\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u300cnpm install -g typescript\u300d\u3092\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001mkdir\u30b3\u30de\u30f3\u30c9\u3067\u300cpermission denied\u300d\u306e\u30a8\u30e9\u30fc\u3067\u5931\u6557\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u3067TypeScript\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u5bfe\u51e6\u65b9\u6cd5\u3092\u8abf\u3079\u305f\u306e\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u203b\u4eca\u56de\u306eTypescript\u306f\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3063\u305f\u5834\u5408\u3067\u3059\u3002<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">macOS\u306bnode.js\u3092\u5c0e\u5165\u3057TypeScript\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>macOS\u3067TypeScript\u306e\u958b\u767a\u74b0\u5883\u3092\u7528\u610f\u3059\u308b\u306b\u306f\u3001\u524d\u63d0\u6761\u4ef6\u3068\u3057\u3066node.js\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>node.js\u3092\u5c0e\u5165\u3057\u305f\u3042\u3068\u306bnpm\u30b3\u30de\u30f3\u30c9\u3067Typescript\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u203bMacbook\u306a\u3069\u3067node.js\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580 wp-block-embed-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"Joo2O86zhd\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=6729\">\u30102022\u5e74\u7248\u3011Mac\u3067node.js\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3092\u89e3\u8aac<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u30102022\u5e74\u7248\u3011Mac\u3067node.js\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3092\u89e3\u8aac&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=6729&#038;embed=true#?secret=Pcs661vAEI#?secret=Joo2O86zhd\" data-secret=\"Joo2O86zhd\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>node.js\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u3068\u3053\u308d\u3067\u3001\u300c<strong>npm install -g typescript<\/strong>\u300dTypeScript\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u9032\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u300cnpm install -g typescript\u300d\u5b9f\u884c\u304c\u30a8\u30e9\u30fc<\/h2>\n\n\n\n<p>\u305f\u3060\u3001TypeScript\u3092mac\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3001\u300c<strong>npm install -g typescript<\/strong>\u300d\u3092\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"450\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_001.jpg\" alt=\"\u300cnpm install -g typescript\u300d\u3067TypeScript\u3092Mac\u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001Permission denied\u306e\u30a8\u30e9\u30fc\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5931\u6557\" class=\"wp-image-6747\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_001.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_001-300x169.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_001-768x432.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_001-320x180.jpg 320w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_001-530x298.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_001-565x318.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_001-710x399.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_001-725x408.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u4e0a\u90e8\u306b\u306fnode.js\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001node.js\u81ea\u4f53\u306f\u6b63\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001mac\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306e\u8d64\u67a0\u90e8\u5206\u306e\u3088\u3046\u306b\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p> \u300ctsc &#8211;version\u300d\u3092\u5b9f\u884c\u3057\u3066\u3082\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u300ccommand not found: tsc\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">npm ERR! code EACCES\nnpm ERR! syscall mkdir\nnpm ERR! path \/usr\/local\/lib\/node_modules\/typescript\nnpm ERR! errno -13\nnpm ERR! Error: EACCES: permission denied, mkdir '\/usr\/local\/lib\/node_modules\/typescript'\nnpm ERR!  [Error: EACCES: permission denied, mkdir '\/usr\/local\/lib\/node_modules\/typescript'] {\n  npm ERR!   errno: -13,\n  npm ERR!   code: 'EACCES',\n  npm ERR!   syscall: 'mkdir',\n  npm ERR!   path: '\/usr\/local\/lib\/node_modules\/typescript'\n}<\/code><\/pre>\n\n\n\n<p>\u518d\u5ea6\u5b9f\u884c\u3057\u3066\u3082\u540c\u3058\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u3057\u307e\u3046\u305f\u3081\u3001TypeScript\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">mkdir\u6642\u306b\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u304c\u539f\u56e0<\/h2>\n\n\n\n<p>npm\u30b3\u30de\u30f3\u30c9\u3067TypeScript\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5931\u6557\u3059\u308b\u306e\u306f\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308bmkdir\u30b3\u30de\u30f3\u30c9\u3067\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<p>mkdir\u3067\u4f5c\u6210\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5468\u308a\u306e\u6a29\u9650\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4f5c\u6210\u304c\u3067\u304d\u305a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5931\u6557\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001mkdir\u3067\u4f5c\u6210\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308bpath\u5468\u308a\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">typescript\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u300cpermission denied\u300d\u306e\u89e3\u6c7a\u65b9\u6cd5<\/h2>\n\n\n\n<p>\u5b9f\u969b\u306b\u3001permission denied\u306e\u30a8\u30e9\u30fc\u3067TypeScript\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u306a\u3044\u5834\u5408\u306e\u89e3\u6c7a\u7b56\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\"> sudo chown -R \\$(whoami) \\$(npm config get prefix)\/{lib\/node_modules,bin,share}<\/code><\/pre>\n\n\n\n<p>chown\u3067npm\u5468\u308a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u30a8\u30e9\u30fc\u539f\u56e0\u3092\u89e3\u6d88\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u969b\u306b\u4e0a\u8a18\u306echown\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"423\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_002.jpg\" alt=\"\u300cnpm install -g typescript\u300d\u3067TypeScript\u3092Mac\u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001Permission denied\u306e\u30a8\u30e9\u30fc\u304c\u751f\u3058\u305f\u969b\u306fchown\u3067\u5f53\u8a72\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u30a8\u30e9\u30fc\u89e3\u6d88\u53ef\u80fd\" class=\"wp-image-6748\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_002.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_002-300x159.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_002-768x406.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_002-530x280.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_002-565x299.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_002-710x375.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_002-725x383.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>sudo\u30b3\u30de\u30f3\u30c9\u306fmacOS\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6c42\u3081\u3089\u308c\u308b\u305f\u3081\u3001Mac\u306e\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u5f8c\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u5e30\u3063\u3066\u304f\u308c\u3070\u3001\u5b9f\u884c\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u518d\u5ea6\u300c<strong>npm install -g typescript<\/strong>\u300d\u3092\u6253\u3061\u8fbc\u3093\u3067\u3001\u518d\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"511\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_003.jpg\" alt=\"\u300cnpm install -g typescript\u300d\u3067TypeScript\u3092Mac\u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001Permission denied\u306e\u30a8\u30e9\u30fc\u304c\u751f\u3058\u305f\u969b\u306fchown\u3067\u5f53\u8a72\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u5f8c\u3001\u518d\u5ea6typeScript\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u6210\u529f\u3057\u3066TypeScript\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\" class=\"wp-image-6749\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_003.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_003-300x192.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_003-768x491.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_003-530x339.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_003-565x361.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_003-710x454.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/12\/20221216_auto_003-725x463.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u300cadd 1 package, and audited 2 packages in *s\u300d\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u3001TypeScript\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u6210\u529f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b63\u78ba\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u3066\u3044\u308b\u304b\u300ctsc &#8211;version\u300d\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fTypeScript\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081\u30fb\u7d42\u308f\u308a\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u3001macOS\u3067node.js\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5f8c\u3001TypeScript\u3092\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u3001\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u3067\u5931\u6557\u3057\u305f\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u300c<strong>npm install -g typescript<\/strong>\u300d\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u969b\u306b\u300cpermission denied\u300d\u304c\u8868\u793a\u3055\u308c\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u5834\u5408\u3001npm\u5468\u308a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092chown\u3067\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u89e3\u6d88\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>chown\u30b3\u30de\u30f3\u30c9\u3092sudo\u3067\u5b9f\u884c\u5f8c\u3001\u518d\u5ea6npm\u3067TypeScript\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001\u4eca\u5ea6\u306f\u6210\u529f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3082\u3057\u3001\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u3067TypeScript\u3092Mac\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u4eca\u56de\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u3067\u89e3\u6d88\u3059\u308b\u304b\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>mac\u7aef\u672b\u3067node.js\u5c0e\u5165\u5f8c\u3001TypeScript\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u300cnpm install -g typescript\u300d\u3092\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001mkdir\u30b3\u30de\u30f3\u30c9\u3067\u300cpermission denied\u300d\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6750,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1100,1098,1099],"class_list":["post-6745","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-npm-install","tag-typescript","tag-1099"],"_links":{"self":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6745"}],"version-history":[{"count":4,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6745\/revisions"}],"predecessor-version":[{"id":6753,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6745\/revisions\/6753"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/6750"}],"wp:attachment":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}