{"id":6234,"date":"2024-05-19T14:48:01","date_gmt":"2024-05-19T11:48:01","guid":{"rendered":"https:\/\/1.cbm.ua\/?p=6234"},"modified":"2024-05-19T16:50:04","modified_gmt":"2024-05-19T13:50:04","slug":"%d0%b8%d0%b7%d1%83%d1%87%d0%b0%d0%bb-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d1%83-nodejs-%d0%b8-%d0%b5%d0%b3%d0%be-%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d1%83","status":"publish","type":"post","link":"https:\/\/1.cbm.ua\/?p=6234","title":{"rendered":"NodeJS &#8212; \u0418\u0437\u0443\u0447\u0430\u043b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e \u0438 \u0434\u0435\u043b\u0430\u044e \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0434\u043b\u044f \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430. (\u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 Node JS \u0441 \u043d\u0443\u043b\u044f \/ #2 \u2013 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430)"},"content":{"rendered":"\n<p>\u0421\u043a\u0430\u0447\u0430\u0442\u044c &#171;NodeJS&#187; \u043c\u043e\u0436\u043d\u043e \u0442\u0443\u0442 &#8212; <a href=\"https:\/\/nodejs.org\/en\/download\/prebuilt-installer\">https:\/\/nodejs.org\/en\/download\/prebuilt-installer<\/a><\/p>\n\n\n\n<p>\u0411\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u0447\u0430\u043d \u0444\u0430\u0439\u043b &#171;node-v20.13.1-x64.msi&#187; &#8212;  \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c.<\/p>\n\n\n\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 NodeJS<\/p>\n\n\n\n<p>npm install -g windows-build-tools<\/p>\n\n\n\n<p>npm init &#8212; \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n\n\n\n<p>\u0423\u0447\u0438\u043b\u0441\u044f \u043f\u043e \u0432\u0438\u0434\u0438\u043e.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"nv-iframe-embed\"><iframe loading=\"lazy\" title=\"\u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 Node JS \u0441 \u043d\u0443\u043b\u044f \/ #2 \u2013 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0306\u043a\u0430\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/v0BVWlBiniY?list=PLDyJYA6aTY1loAdIkiCun_Cz5nnWEF1WW\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 &#171;<strong>Visual Studio Code<\/strong>&#187;  <\/td><td><img decoding=\"async\" src=\"https:\/\/fjngqp1mvftjzxfzrdiggafze9wxueam.cdn-freehost.com.ua\/wp-content\/uploads\/2024\/05\/image-3.png\" alt=\"\"><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Ctrl +Shift + `   &#8212;  \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043e\u043a\u043d\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430.<\/p>\n\n\n\n<p>\u0434\u043b\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>npm init<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u0417\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0443.<\/p>\n\n\n\n<p>\u0427\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c Enter<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>package name:<\/td><td>pr.-deutsch) nodejs_test_1<\/td><td>\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/td><\/tr><tr><td>version: (1.0.0)<\/td><td>1.0.0<\/td><td>\u0432\u0435\u0440\u0441\u0438\u044f (\u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430)<\/td><\/tr><tr><td>description:<\/td><td>test_node_js<\/td><td>\u0414\u0430\u043b\u044c\u0448\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0442\u0435 \u043a\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u0433\u0434\u0430-\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u044d\u0442\u0438\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u043f\u043e\u043d\u0438\u043c\u0430\u043b\u0438 \u043e \u0447\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442.<\/td><\/tr><tr><td>entry point:<\/td><td>(index.js)<\/td><td>\u0417\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043a\u0430\u043a\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0444\u0430\u0439\u043b \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/td><\/tr><tr><td>test command:<\/td><td>&nbsp;<\/td><td>\u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b (\u0432\u044b\u044f\u0441\u043d\u0438\u0442\u044c \u0437\u0430\u0447\u0435\u043c \u043e\u043d\u0438)<\/td><\/tr><tr><td>git repository:<\/td><td>&nbsp;<\/td><td>git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/td><\/tr><tr><td>keywords:<\/td><td>&nbsp;<\/td><td>\u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0441\u043b\u043e\u0432\u0430 ( \u0432\u044b\u044f\u0441\u043d\u0438\u0442\u044c \u0437\u0430\u0447\u0435\u043c \u043e\u043d\u0438)<\/td><\/tr><tr><td>author:<\/td><td>J-P<\/td><td>\u0410\u0432\u0442\u043e\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/td><\/tr><tr><td>license: (ISC)<\/td><td>&nbsp;<\/td><td>\u0415\u0435 \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442 \u043a\u043e\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0439, \u0438\u043d\u0430\u0447\u0435 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0444\u0430\u0439\u043b &#171;<strong>package.json<\/strong>&#187; (\u044d\u0442\u043e <strong>json<\/strong> \u043e\u0431\u044a\u0435\u043a\u0442)<\/p>\n\n\n\n<p>\u041d\u0438\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u044d\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"name\": \"nodejs_test_1\",\n  \"version\": \"1.0.0\",\n  \"description\": \"test_node_js\",\n  \"main\": \"index.js\",\n  \"scripts\": {\n    \"test\": \"echo \\\"Error: no test specified\\\" &amp;&amp; exit 1\",\n    \"start1\": \"node index.js\",\n    \"start2\": \"node nodejs_test\/index.js\"\n  },\n  \"author\": \"J-P\",\n  \"license\": \"ISC\"\n}<\/pre>\n\n\n\n<p>&#171;<strong>scripts<\/strong>&#171;: &#8212; \u0442\u0443\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u044b (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0442\u043e\u043b\u044c\u043a\u043e &#171;test&#187;) \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c  \u0432 \u043e\u043a\u043d\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430<br>          <strong>npm<\/strong> run <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-nv-c-2-color\"><strong>test<\/strong><\/mark><br>\u0438\u043b\u0438<br>          <strong>npm<\/strong> run <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-neve-link-color-color\"><strong>start<\/strong><\/mark>1<br>          <strong>npm<\/strong> run <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-neve-link-color-color\"><strong>start<\/strong><\/mark>2  (\u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u0444\u0430\u0439\u043b &#171;index.js&#187; \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u043f\u043e\u0434\u043f\u0430\u043f\u043a\u0435 &#171;<strong>node nodejs_test<\/strong>&#187; )<br><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u0434\u043b\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b &#171;<strong>npm<\/strong> run <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-nv-c-2-color\"><strong>test<\/strong><\/mark>&#187; \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f &#171;&#187;test&#187;: &#171;echo \\&#187;Error: no test specified\\&#187; &amp;&amp; exit 1&#8243;&#187; \u0441\u043a\u0440\u0438\u043f\u0442\u0430.<br>1. \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0441\u0442\u0440\u043e\u043a\u0443 &#171;Error: no test specified&#187; (\u043a\u0430\u0432\u044b\u0447\u043a\u0438 \u0437\u0430\u0434\u0430\u0435\u043c \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \\&#187; )<br>2. \u043f\u043e\u0441\u043b\u0435 \u0437\u043d\u0430\u043a\u043e\u0432 &amp;&amp; \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0432\u044b\u0445\u043e\u0434 (exit 1). <\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"828\" height=\"360\" src=\"https:\/\/fjngqp1mvftjzxfzrdiggafze9wxueam.cdn-freehost.com.ua\/wp-content\/uploads\/2024\/05\/image-4.png\" alt=\"\" class=\"wp-image-6242\" srcset=\"https:\/\/fjngqp1mvftjzxfzrdiggafze9wxueam.cdn-freehost.com.ua\/wp-content\/uploads\/2024\/05\/image-4.png 828w, https:\/\/fjngqp1mvftjzxfzrdiggafze9wxueam.cdn-freehost.com.ua\/wp-content\/uploads\/2024\/05\/image-4-300x130.png 300w, https:\/\/fjngqp1mvftjzxfzrdiggafze9wxueam.cdn-freehost.com.ua\/wp-content\/uploads\/2024\/05\/image-4-768x334.png 768w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\u0434\u043b\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b &#171;<strong>npm<\/strong> run <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-neve-link-color-color\"><strong>start<\/strong><\/mark>1&#8243; \u0438\u043b\u0438 &#171;<strong>npm<\/strong> run <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-neve-link-color-color\"><strong>start<\/strong><\/mark>2&#8243; \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0430\u0442\u0430:<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"456\" src=\"https:\/\/fjngqp1mvftjzxfzrdiggafze9wxueam.cdn-freehost.com.ua\/wp-content\/uploads\/2024\/05\/image-5.png\" alt=\"\" class=\"wp-image-6256\" srcset=\"https:\/\/fjngqp1mvftjzxfzrdiggafze9wxueam.cdn-freehost.com.ua\/wp-content\/uploads\/2024\/05\/image-5.png 842w, https:\/\/fjngqp1mvftjzxfzrdiggafze9wxueam.cdn-freehost.com.ua\/wp-content\/uploads\/2024\/05\/image-5-300x162.png 300w, https:\/\/fjngqp1mvftjzxfzrdiggafze9wxueam.cdn-freehost.com.ua\/wp-content\/uploads\/2024\/05\/image-5-768x416.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/figure>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-nv-c-2-color\">\u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0432 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430  &#171;package.json&#187; \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438 \u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0435.<\/mark><\/p>\n\n\n\n<p>JSON \u2014 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043e\u0431\u043c\u0435\u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 JavaScript. \u041a\u0430\u043a \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b, JSON \u043b\u0435\u0433\u043a\u043e \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043b\u044e\u0434\u044c\u043c\u0438. \u0424\u043e\u0440\u043c\u0430\u0442 JSON \u0431\u044b\u043b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d \u0414\u0443\u0433\u043b\u0430\u0441\u043e\u043c \u041a\u0440\u043e\u043a\u0444\u043e\u0440\u0434\u043e\u043c. \u0412\u0438\u043a\u0438\u043f\u0435\u0434\u0438\u044f<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0432 \u043d\u0443\u0436\u043d\u043e\u0439 \u043d\u0430\u043c \u043f\u0430\u043f\u043a\u0435 \u0444\u0430\u0439\u043b &#171;index.js&#187; \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0442\u0443\u0434\u0430 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440  \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>let num = 5\nconsole.log(`Variable: ${num}`)<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u0430\u043f\u043a\u0443 \u043d\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0430 \u043d\u0430 \u043e\u0434\u0438\u043d \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0432\u044b\u0448\u0435, \u0442\u043e<\/h2>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u044d\u0442\u0443 \u043f\u0430\u043f\u043a\u0443 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<br> <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \u043f\u0443\u0442\u044c_\u043a_\u043f\u043e\u0434_\u043f\u0430\u043f\u043a\u0435<\/code><\/pre>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-nv-c-2-color\">\u0418  \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>node index.js  <\/code><\/pre>\n\n\n\n<p>\u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u0435\u0434\u0435\u043d\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Debugger attached.\nVariable: 5\nWaiting for the debugger to disconnect...<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>\u041b\u0443\u0447\u0448\u0435 \u0431\u044b\u043b\u043e \u0431\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u043d\u0443\u0436\u043d\u043e\u0439 \u043f\u043e\u043f\u043a\u0438:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>node <strong>nodejs_test<\/strong>\\index.js<\/code><\/pre>\n\n\n\n<p>\u0438\u043b\u0438 \u0435\u0441\u043b\u0438 \u043c\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u043c\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0435 \u0441 \u0444\u0430\u0439\u043b\u043e\u043c index, \u0442\u043e\u0433\u0434\u0430 \u0442\u0430\u043a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n\n\n\n<p>\u0432\u043c\u0435\u0441\u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b &#171;node index. js&#187;, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0444\u0430\u0439\u043b\u0435 &#171;package.json&#187; <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"scripts\":\n\"start\": \"node nodejs_test\\index.js\"<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u043a\u0430\u0447\u0430\u0442\u044c &#171;NodeJS&#187; \u043c\u043e\u0436\u043d\u043e \u0442\u0443\u0442 &#8212; https:\/\/nodejs.org\/en\/download\/prebuilt-installer \u0411\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u0447\u0430\u043d \u0444\u0430\u0439\u043b &#171;node-v20.13.1-x64.msi&#187; &#8212; \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 NodeJS npm install -g windows-build-tools npm init &#8212; \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u0423\u0447\u0438\u043b\u0441\u044f \u043f\u043e \u0432\u0438\u0434\u0438\u043e. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 &#171;Visual Studio Code&#187; Ctrl +Shift + ` &#8212; \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043e\u043a\u043d\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430. \u0434\u043b\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0417\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0443. \u0427\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e&hellip;&nbsp;<a href=\"https:\/\/1.cbm.ua\/?p=6234\" rel=\"bookmark\">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 &raquo;<span class=\"screen-reader-text\">NodeJS &#8212; \u0418\u0437\u0443\u0447\u0430\u043b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e \u0438 \u0434\u0435\u043b\u0430\u044e \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0434\u043b\u044f \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430. (\u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 Node JS \u0441 \u043d\u0443\u043b\u044f \/ #2 \u2013 \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[166],"tags":[],"class_list":["post-6234","post","type-post","status-publish","format-standard","hentry","category-nodejs"],"_links":{"self":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/6234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6234"}],"version-history":[{"count":14,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/6234\/revisions"}],"predecessor-version":[{"id":6259,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/6234\/revisions\/6259"}],"wp:attachment":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}