์ค๋ฅ : ๋ช ๋ น ์คํจ : cat node_modules / jquery / dist / jquery.min.js |
@ Vincent2015 "๋ค์ ์คํํ ๋?"
ํ๋ก์ ํธ๋ฅผ ํ ๋ฒ๋ง ๋น๋ ํ ์ ์๋ค๋ ์๋ฏธ์ ๋๊น?
"node_modules / jquery / dist / jquery.min.js"๊ฐ ์กด์ฌํฉ๋๊น?
Win64 OS์์ ์คํ ์ค์ด๋ฉฐ ์๋ ๋ช ๋ น ์ถ๋ ฅ์ cat๊ณผ ๊ฐ์ Linux ๊ด๋ จ ๋ช ๋ น์ ์คํํ๋ ค๊ณ ๋ถ๋ช ํ ์๋ํ๊ณ ์์ต๋๋ค.
(node โโ: 17044) UnhandledPromiseRejectionWarning : ์ฒ๋ฆฌ๋์ง ์์ ์ฝ์ ๊ฑฐ๋ถ (๊ฑฐ๋ถ ID : 1) : ์ค๋ฅ : ์ค๋ฅ : ๋ช
๋ น ์คํจ : cat node_modules / jquery / dist / jquery.min.js | openssl dgst -sha256 -binary | openssl enc -base64 -A
'cat'์ ๋ด๋ถ ๋๋ ์ธ๋ถ ๋ช
๋ น์ผ๋ก ์ธ์๋์ง ์์ต๋๋ค.
์๋ ๊ฐ๋ฅํ ํ๋ก๊ทธ๋จ ๋๋ ๋ฐฐ์น ํ์ผ.
@paulrobello ๊ฐ์ฌํฉ๋๋ค! ์ด์ ์ดํด๊ฐ๋๋ค. "๋ค์ ์คํ"์ผ๋ก ์ธํด cat.
์์์ฃผ์๊ฐ ์ฐ๋ง ํด์ก์ต๋๋ค. ์ง์ง ๋ฌธ์ ๋ powershell / cmd.exe์์ ๋น๋๋ฅผ ์คํํ๋ ๊ฒ์
๋๋ค.
์ง๊ธ ํ๋ก์ ํธ๋ฅผ ๋น๋ํด์ผํ๋ค๋ฉด Windows ์ฉ git๊ณผ ํจ๊ป ์ ๊ณต๋๋ git bash๋ฅผ ์ฌ์ฉํ์ธ์.
ํ๋ก์ ํธ๋ฅผ ๊ด๋ฆฌํ๊ธฐ ์ํด Windows์์ ์ฌ์ฉํ๋ ๊ฒ์ฒ๋ผ ์๋ํ๋ค๋ ๊ฒ์ ์๊ณ ์์ต๋๋ค.
๋ฒ๊ทธ๋ฅผ ๋ ์ ๋ฐ์ํ๊ธฐ ์ํด ๋ฌธ์ ์ ์ด๋ฆ์ ๋ณ๊ฒฝํ๊ฒ ์ต๋๋ค.
๋๊ตฐ๊ฐ๊ฐ ๋ค๋ฅธ ๊ฒ์ ์ฌ์ฉํ๊ธฐ ์ํด ๊ทธ ์์ ์ ๋ค์ ์์ฑํ๊ณ ์ถ๋ค๋ฉด (์๋ง๋ ssri ) ๋๋ ๋งค์ฐ ๊ธฐ๋ปํ ๊ฒ์ด๊ณ ๊ทธ ํ ์์ฒญ์ ๋ณํฉ ํ ๊ฒ์ ๋๋ค.
์ด ํ๋ก์ ํธ๋ฅผ bash์์ ๋น๋ํ์ญ์์ค.
Windows 10์ ์ฌ์ฉํ๋ ๊ฒฝ์ฐ
Windows ์คํ ์ด์ Ubuntu !
๋๋ Windows ์ฉ Git ์ฌ์ฉ
Windows Store์ Ubuntu์ ๋ํ ํฌ์ธํฐ์ ๋ํด @ Vista1nik ์๊ฒ ๊ฐ์ฌ๋๋ฆฝ๋๋ค. ๊ทธ๊ฒ์ ์ฌ๋๋ค์์ํ ์๋ก์ด ๋์์ ๋๋ค.
๋น๋๊ฐ ๋ ธ๋ ์ผ ๋ฟ์ด๋ฏ๋ก ์ ํ ๊ฑฑ์ ํ ํ์๊ฐ ์๋๋ก ๊ทผ๋ณธ์ ์ธ ๋ฌธ์ ๋ฅผ ์์ ํ๊ณ ์ถ์ต๋๋ค.