๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

vscode5

vscode scss compiler sass ์‚ฌ์šฉํ•˜๋Š”๋ฒ• .mapํŒŒ์ผ์ด ์ƒ์„ฑ๋˜์ง€ ์•Š๊ฒŒ ์„ค์ • vscode scss compiler VSCode์—์„œ SCSS ์ปดํŒŒ์ผ ๋ฐ .map ํŒŒ์ผ ์ƒ์„ฑ ๋ฐฉ์ง€ ์„ค์ • ๋ถ€์ œ: ๊ฐ„ํŽธํ•˜๊ฒŒ SCSS๋ฅผ ์ปดํŒŒ์ผํ•˜๊ณ  .map ํŒŒ์ผ์„ ์ƒ์„ฑํ•˜์ง€ ์•Š๋Š” ๋ฐฉ๋ฒ• ์•ˆ๋…•ํ•˜์„ธ์š”, ์—ฌ๋Ÿฌ๋ถ„! ์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” Visual Studio Code(VSCode)์—์„œ SCSS(Sassy CSS)๋ฅผ ๊ฐ„ํŽธํ•˜๊ฒŒ ์ปดํŒŒ์ผํ•˜๊ณ , ๋ถˆํ•„์š”ํ•œ .map ํŒŒ์ผ ์ƒ์„ฑ์„ ๋ฐฉ์ง€ํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ์ฝ”๋“œ ์ž‘์„ฑ ํ™˜๊ฒฝ์„ ๋”์šฑ ํšจ์œจ์ ์œผ๋กœ ๋งŒ๋“ค์–ด๋ณด์„ธ์š”. ํ•„์š”ํ•œ ํ™•์žฅ(extension) ๋‹ค์Œ๊ณผ ๊ฐ™์€ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์„ ์„ค์น˜ํ•˜๋ฉด SCSS ์ปดํŒŒ์ผ ๋ฐ .map ํŒŒ์ผ ๊ด€๋ฆฌ๊ฐ€ ํ›จ์”ฌ ๊ฐ„ํŽธํ•ด์ง‘๋‹ˆ๋‹ค. Sass Sass Lint Live Sass Compiler Live Server ์ด์ œ ์ค€๋น„๊ฐ€ ๋˜์…จ๋‹ค๋ฉด, ์‹œ์ž‘ํ•ด๋ด…์‹œ๋‹ค! SCSS ํŒŒ์ผ ์ปดํŒŒ์ผํ•˜๊ธฐ .. 2023. 8. 30.
linux killall node command use in windows taskkill /f /im node.exe Starting inspector on 127.0.0.1:9229 failed: address already in use ์—๋Ÿฌ ํ•ด๊ฒฐ๋ฐฉ๋ฒ• linux killall node command use in windows taskkill /f /im node.exe Starting inspector on 127.0.0.1:9229 failed: address already in use Windows ํ™˜๊ฒฝ์—์„œ VSCode ์‚ฌ์šฉ ์‹œ ๋ฐœ์ƒํ•˜๋Š” "address already in use" ์—๋Ÿฌ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• ์˜ค๋Š˜์€ Windows ํ™˜๊ฒฝ์—์„œ VSCode๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด์„œ ์ž์ฃผ ๋งˆ์ฃผ์น˜๊ฒŒ ๋˜๋Š” "address already in use" ์—๋Ÿฌ์— ๋Œ€ํ•œ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์„ ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ์ด ์˜ค๋ฅ˜๋Š” ์ข…์ข… 127.0.0.1:9229์™€ ๊ฐ™์€ ์ฃผ์†Œ์—์„œ ๋ฐœ์ƒํ•˜๋Š”๋ฐ, ์ด๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด ๋ช‡ ๊ฐ€์ง€ ๋‹จ๊ณ„๋ฅผ ๋”ฐ๋ผ๊ฐ€๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•: taskkill ๋ช…๋ น์–ด ์‚ฌ์šฉ ์œ ๋‹‰์Šค ๊ณ„์—ด ์‹œ์Šคํ…œ์—์„œ๋Š” ki.. 2023. 8. 29.
โœˆ vscode ํŒŒ์ผ ์ฐพ๊ธฐ ๋‹จ์ถ•ํ‚ค VS code ํŒŒ์ผ ์ฐพ๊ธฐ ๋‹จ์ถ•ํ‚ค. VS์ฝ”๋“œ์—์„œ ํŒŒ์ผ ์ต์Šคํ”Œ๋กœ๋Ÿฌ๊ฐ€ ์œ ์šฉํ•˜์ง€๋งŒ, ํ”„๋กœ์ ํŠธ ๊ทœ๋ชจ๊ฐ€ ์ปค์ ธ์„œ ํด๋” ๊ตฌ์กฐ๊ฐ€ ๋ณต์žกํ•ด์ง€๊ณ  ํŒŒ์ผ์ด ๋งŽ์•„์ง€๋ฉด, ํŠน์ • ํŒŒ์ผ์„ ์ฐพ์„ ๋•Œ๋Š” ํŒŒ์ผ ์ฐพ๊ธฐ๋ฅผ ํ•ด์•ผ ํ•œ๋‹ค. ์™ผ์ชฝ์˜ ์•„์ด์ฝ˜์€ ํŒŒ์ผ ๋‚ด์—์„œ ํŠน์ • ๋ฌธ์ž์—ด์„ ์ฐพ์•„์ฃผ๋Š”๋ฐ ์œ ์šฉํ•˜์ง€๋งŒ, ์ธํด๋Ÿฌ๋“œ๋œ ํŒŒ์ผ ์ž์ฒด๋ฅผ ์ฐพ์„ ๋•Œ๋Š” ํŒŒ์ผ ์ฐพ๊ธฐ๋ฅผ ํ•ด์•ผ ํ•œ๋‹ค. ๋‹จ์ถ•ํ‚ค๋Š” ๋ณดํ†ต ์œˆ๋„์šฐ์—์„œ๋Š” CTRL+P๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ์œ ์šฉํ•˜๋‹ค. ๋ฆฌ๋ˆ…์Šค์—์„œ๋„ ๋งŽ์ด ์‚ฌ์šฉ๋˜๋Š” ๋‹จ์ถ•ํ‚ค์ด๋ฏ€๋กœ Ctrl+P๋กœ ์™ธ์›Œ๋‘๋Š” ๊ฒƒ์ด ์šฉ์ดํ•˜๋‹ค. Windows vscode ๋‹จ์ถ•ํ‚ค Ctrl+E ํ˜น์€ Ctrl+P MAC์šฉ vscode ๋‹จ์ถ•ํ‚ค Cmd+P ๊ตฌํ˜• MAC ๋‹จ์ถ•ํ‚ค Cmd+E Linux์šฉ vscode ํŒŒ์ผ ์ฐพ๊ธฐ ๋‹จ์ถ•ํ‚ค Ctrl+P -blackun.com 2019. 12. 12.
โœˆ visual studio code ๋“ค์—ฌ์“ฐ๊ธฐ fomatter tab ๊ฐ„๊ฒฉ ์กฐ์ • visual studio code ๋“ค์—ฌ์“ฐ๊ธฐ fomatter tab ๊ฐ„๊ฒฉ ์กฐ์ • ์˜ˆ์ „์—๋Š” ๋“œ๋ฆผ์œ„๋ฒ„๋กœ ์ฃผ๋กœ ์ž‘์—…ํ–ˆ๋Š”๋ฐ, ์š”์ƒˆ๋Š” ์›ฌ๋งŒํ•œ ํ”„๋กœ์ ํŠธ์—์„œ๋Š” VScode๋กœ ํ•œ๋‹ค. ์–ด๋Š๋‚  ์ •์‹  ์ค„ ๋†“๊ณ  ์žˆ๋‹ค๊ฐ€, ๋ญ˜ ๊ฑด๋“œ๋ ธ๋Š”์ง€, ํฌ๋งคํ„ฐ์˜ ํ…์ŠคํŠธ ๋“ค์—ฌ์“ฐ๊ธฐ ๊ฐ„๊ฒฉ์ด ๋„ˆ๋ฌด ๋„“์–ด์กŒ๋‹ค. ํƒญ ๊ฐ„๊ฒฉ์ด 8๋ฌธ์ž ๊ฐ„๊ฒฉ์ด๋‹ค. ์ด๊ฑธ ํ™•์ธํ•˜๋Š”๊ฒƒ์€ ํƒœ์Šคํฌ๋ฐ”์˜ spaces ์˜†์˜ ์ˆซ์ž๋ฅผ ๋ณด๋ฉด ๋œ๋‹ค. ์ด ์„ค์ • ์—ญ์‹œ ์ € ๋ถ€๋ถ„์„ ํด๋ฆญํ•˜๋ฉด ๋œ๋‹ค. ์œ„์˜ Spaces:8์„ ํด๋ฆญํ•˜๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋“œ๋กญ์ด ์—ด๋ฆฐ๋‹ค. Indent Using Spaces๋ฅผ ์„ ํƒํ•œ๋‹ค. 1๋ฌธ์ž๋ถ€ํ„ฐ 8๊ฐœ๊นŒ์ง€ ์„ ํƒ์ด ๊ฐ€๋Šฅํ•˜๋‹ค. ํ˜„์žฌ๋Š” 8๋ฌธ์ž๋กœ ์„ ํƒ๋˜์–ด ์žˆ๋‹ค. VS์ฝ”๋“œ ์ „์ฒด์˜ ์„ค์ •์€ 2๋ฌธ์ž๋กœ ํƒญ์‚ฌ์ด์ฆˆ๋ฅผ ์ง€์ •ํ•ด๋‘” ์ƒํƒœ๋‹ค. 2๋ฅผ ์„ ํƒํ•˜๋ฉด 2๋ฌธ์ž ๊ฐ„๊ฒฉ์œผ๋กœ ๋ฐ”๋€๋‹ค. ๋‚˜๋Š” ์ฃผ๋กœ space๋กœ ๋“ค์—ฌ์“ฐ๊ธฐ๋ฅผ ํ•˜์ง€.. 2019. 11. 20.
linux killall node command use in windows taskkill /f /im node.exe Starting inspector on 127.0.0.1:9229 failed: address already in use ๐Ÿ›ซ VScode๋ฅผ ์‚ฌ์šฉํ•˜๋‹ค๋ณด๋ฉด, ๊ฐ„ํ˜น Starting inspector on 127.0.0.1:9229 failed: address already in use ์—๋Ÿฌ๊ฐ€ ๋œฐ ๋•Œ๊ฐ€ ์žˆ๋‹ค. ์ด๋ฏธ ์‚ฌ์šฉํ•˜๋˜ ์„œ๋ฒ„ ํƒœ์Šคํฌ๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ํด๋กœ์ฆˆ ๋˜์ง€ ์•Š์•„์„œ ์ฃผ๋กœ ๋ฐœ์ƒํ•˜๋Š”๋ฐ... ์ด๊ฑธ ํ•ด๊ฒฐํ•˜๋ ค๋ฉด ํ”„๋กœ์„ธ์Šค๊ฐ€ ์ž๋™์œผ๋กœ ์ฃฝ์„ ๋•Œ๊นŒ์ง€ ๊ธฐ๋‹ค๋ฆฌ๊ณค ํ–ˆ๋‹ค. ๋ฆฌ๋ˆ…์Šค์—์„œ๋Š” killall node ๋ช…๋ น์–ด๋กœ ํ•ด๊ฒฐ์ด ๋˜์ง€๋งŒ, ์œˆ๋„์šฐ์— ๋Œ€์‘ํ•˜๋Š” ๋ช…๋ น์–ด๋ฅผ ๋ชฐ๋ž๋‹ค. ๊ฒฐ๋ก ์„ ๋งํ•˜์ž๋ฉด ๋Œ€์‘ ๋ช…๋ น์–ด๋Š” taskkill ์ด๋‹ค. ์ด๋ฏธ ์ž˜ ์ฃฝ์ง€ ์•Š๋Š” ํ”„๋กœ์„ธ์Šค๊ฐ€ ์‚ด์•„์„œ ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ๊ทธ๋ƒฅ taskkill๋งŒ ์จ์„  ์•ˆ๋˜๊ณ  /f ์˜ต์…˜์„ ๊ฐ™์ด ์จ์„œ ๊ฐ•์ œ ์ข…๋ฃŒํ•ด์•ผ ํ•œ๋‹ค. C:\Work\2nd-round>taskkill /im node.exe ์˜ค๋ฅ˜: ํ”„๋กœ์„ธ์Šค .. 2019. 2. 26.