๋๋ ์ค 0.20.3์์๋ค
ํ์ฌ ํ๋์ ๋ฌด์์
๋๊น?
๋ด deps์ URL์ด ์์ต๋๋ค : "trae": "https://github.com/capaj/trae.git",
yarn
๋ฌ๋ฆฌ๊ธฐ
https://github.com/capaj/trae.git repo์ ์ปค๋ฐํฉ๋๋ค.
๋ด ์ ์ฅ์์์ ์ต์ ๋ฒ์ ์ ์ป๊ธฐ ์ํด yarn add https://github.com/capaj/trae.git
์คํ
๋๋ ์ป๋ค:
y add https://github.com/capaj/trae.git
yarn add v0.20.3
[1/4] Resolving packages...
error Command failed.
Exit code: 128
Command: git
Arguments: pull
Directory: /home/capaj/.cache/yarn/.tmp/a0218de46c09eeeba3aa6e9bed4d0f17
Output:
error: Pull is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
์์๋๋ ๋์์ ๋ฌด์์
๋๊น?
์์๋๋ ๊ฒ์ ๋ด github URL์์ trae ํจํค์ง๋ฅผ git ์ค๋ฅ์์ด ์ค์นํ๋ ๊ฒ์
๋๋ค.
Ubuntu 16.10, ๋ ธ๋ 7.5.0
Yarn์ git ์ข
์์ฑ์ ์บ์ ํด๋์ ๋ณต์ ํฉ๋๋ค.
๋ ๋ฒ์งธ๋ก ๋์ผํ ํด๋๋ฅผ ์ฌ์ฌ์ฉํ๋ ค๊ณ ์๋ํ๋ ๊ฒ ๊ฐ์ต๋๋ค. Yarn์ด ๋งํฌ ๋จ๊ณ์์ ์ผ๋ถ ํ์ผ์ ์บ์์ ๋ณต์ฌ ํ ์ ์๊ธฐ ๋๋ฌธ์ ์ด๋ ค์ธ ์ ์์ต๋๋ค.
HEAD๊ฐ ๋ณ๊ฒฝ๋๋ฉด ์
๋ฐ์ดํธํ๋ ๋์ ์ ์บ์ ํด๋๋ฅผ ๋ง๋ค์ด์ผํ๋ค๊ณ ์๊ฐํฉ๋๋ค.
PR์ ํ์ํฉ๋๋ค
์ด ๋ฌธ์ ์ ์ง๋ฉดํ๋ฉด ์ด๋ป๊ฒํด์ผํฉ๋๊น?
์ด ๋ฌธ์ ์ ์ง๋ฉดํ๋ฉด ์ด๋ป๊ฒํด์ผํฉ๋๊น?
์ด๊ฒ์ด ๋ง์คํฐ์์ ํด๊ฒฐ๋๋ ๊ฒ ๊ฐ๊ธฐ ๋๋ฌธ์ ๋๋ ์ต์ ์ผ๊ฐ์ ์๋ ํ ๊ฒ์ ๋๋ค.
tmp
๋๋ ํ ๋ฆฌ๋ฅผ ์ญ์ ํ๋ฉด ๋ฌธ์ ๋ ํด๊ฒฐ๋ฉ๋๋ค.
Directory: /Users/alexprice/Library/Caches/Yarn/v1/.tmp/a71eb20c6f8366926c96610aa7b336f4
....
$ rm -rf ~/Library/Caches/Yarn/v1/.tmp/a71eb20c6f8366926c96610aa7b336f4
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
tmp
๋๋ ํ ๋ฆฌ๋ฅผ ์ญ์ ํ๋ฉด ๋ฌธ์ ๋ ํด๊ฒฐ๋ฉ๋๋ค.