{"id":530,"date":"2026-01-27T02:53:23","date_gmt":"2026-01-27T02:53:23","guid":{"rendered":"https:\/\/blog.gpst.net.cn:4008\/?p=530"},"modified":"2026-01-28T06:24:12","modified_gmt":"2026-01-28T06:24:12","slug":"nodejs%e6%89%93%e5%8c%85%e9%a1%b9%e7%9b%ae","status":"publish","type":"post","link":"https:\/\/opshub.com.cn\/?p=530","title":{"rendered":"nodejs\u6253\u5305\u9879\u76ee"},"content":{"rendered":"\n<p>1.\u5b89\u88c5node<\/p>\n\n\n\n<p><a href=\"https:\/\/nodejs.org\/dist\/v18.20.4\/node-v18.20.4-x64.msi\">https:\/\/nodejs.org\/dist\/v18.20.4\/node-v18.20.4-x64.msi<\/a><\/p>\n\n\n\n<p>2.\u5b89\u88c5vscode<\/p>\n\n\n\n<p><a href=\"https:\/\/vscode.download.prss.microsoft.com\/dbazure\/download\/stable\/f1e16e1e6214d7c44d078b1f0607b2388f29d729\/VSCodeUserSetup-x64-1.91.1.exe\">https:\/\/vscode.download.prss.microsoft.com\/dbazure\/download\/stable\/f1e16e1e6214d7c44d078b1f0607b2388f29d729\/VSCodeUserSetup-x64-1.91.1.exe<\/a><\/p>\n\n\n\n<p>3.\u9879\u76ee\u76ee\u5f55\u91cc\u7a7a\u767d\u5730\u65b9\u53f3\u51fb \u901a\u8fc7Code\u6253\u5f00<\/p>\n\n\n\n<p>4.Terminal New Terminal<\/p>\n\n\n\n<p>5.\u5220\u9664node_modules\u3001package-lock.json<\/p>\n\n\n\n<p>6.npm cache clean &#8211;force<\/p>\n\n\n\n<p>7.npm install &#8211;registry=<a href=\"https:\/\/registry.npmmirror.com\/\">https:\/\/registry.npmmirror.com<\/a> &#8211;legacy-peer-deps<\/p>\n\n\n\n<p>8.npm run build<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u5b89\u88c5node https:\/\/nodejs.org\/dist\/v18.20.4\/node-v18.20.4-x64.msi 2.\u5b89\u88c5vscode https:\/\/vscode.download.prss.microsoft.com\/dbazure\/download\/stable\/f1e16e1e6214d7c44d078b1f0607b2388f29d729\/VSCodeUserSetup-x64-1.91.1.exe 3.\u9879\u76ee\u76ee\u5f55\u91cc\u7a7a\u767d\u5730\u65b9\u53f3\u51fb \u901a\u8fc7Code\u6253\u5f00 4.Terminal New Terminal 5.\u5220\u9664node_modules\u3001package-lock.json 6.npm cache clean &#8211;force 7.npm install &#8211;registry=https:\/\/registry.npmmirror.com &#8211;legacy-peer-deps 8.npm run build<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-530","post","type-post","status-publish","format-standard","hentry","category-9"],"_links":{"self":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=530"}],"version-history":[{"count":2,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/530\/revisions"}],"predecessor-version":[{"id":532,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/530\/revisions\/532"}],"wp:attachment":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}