๊ธฐ๋ฅ ์ ์์ฒญํ๊ฑฐ๋ ๋ฒ๊ทธ๋ฅผ๋ณด๊ณ ํ์๊ฒ ์ต๋๊น?
์ด๊ฒ์ ๋ฒ๊ทธ ๋ฆฌํฌํธ์
๋๋ค.
ํ์ฌ ํ๋์ ๋ฌด์์
๋๊น?
package.json
์ git+ssh
URL์ ์ฌ์ฉํ๋ ์ข
์์ฑ์ด ํฌํจ๋์ด์์ ๋ yarn install
์
์ด๋ฆ์ #
๋ ๋ถ๊ธฐ ์ด๋ฆ์ ์ง์ ํฉ๋๋ค (๋ฌธ์ ์ถ์ ์ ์ผ๋ฐ์ ์ผ๋ก ์ฌ์ฉ๋จ). ๋ค์ ์ค๋ฅ์ ํจ๊ป ์ค์น๊ฐ ์คํจํฉ๋๋ค.
error Couldn't find match for "issue-" in "refs/heads/issue-#1,refs/heads/master" for "[email protected]:cdimitroulas/test-repository.git".
package.json
์ข
์์ฑ ์ :
"dependencies": {
"test-module": "git+ssh://[email protected]:cdimitroulas/test-repository.git#issue-#1"
}
ํ์ฌ ๋์์ด ๋ฒ๊ทธ ์ธ ๊ฒฝ์ฐ ์ฌํ ๋จ๊ณ๋ฅผ ์ ๊ณตํ์ญ์์ค.
npm init -y
์ด๊ธฐํํฉ๋๋ค.package.json
:{
"name": "yarn-bug",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"test-module": "git+ssh://[email protected]:cdimitroulas/test-repository.git#issue-#1"
}
}
yarn install
์์๋๋ ๋์์ ๋ฌด์์
๋๊น?
yarn install
๋ ์ง์ ๋ ๋ธ๋์น์์ ๋ด ๋ชจ๋์ ์ค์นํด์ผํฉ๋๋ค.
node.js, yarn ๋ฐ ์ด์ ์ฒด์ ๋ฒ์ ์ ์ธ๊ธํ์ญ์์ค.
npm- 6.1.0
์์ฌ- 1.7.0
์ด์ ์ฒด์ - Ubuntu 16.04
(x64)
v1.7.0์์ ํ์ธ๋์์ต๋๋ค. ์ค๋ PR์ ํ ์ ์๋์ง ๋ณผ๊ฒ์ ...
ํ๋ฅญํฉ๋๋ค. ๋น ๋ฅธ PR @ rally25rs์ ๊ฐ์ฌ๋๋ฆฝ๋๋ค. : heart_eyes :
์ด๋ฏธ ๋ค๋ฅธ PR # 4881์ ์ด์ด ์์ ํ # 4880์ ๋ณต์ ๋ณธ์์ ๋ฐ๊ฒฌํ์ต๋๋ค. ์ด ๋ฌธ์ ๋ฅผ ์ค๋ณต์ผ๋ก ์ข ๋ฃํ๊ณ ์ด๋ฏธ ์กด์ฌํ๋ ๊ฒ๊ณผ ๋์ผํ๋ฏ๋ก ๋ด PR์ ์ข ๋ฃํฉ๋๋ค. ์ด ๊ตฌ๋ฌธ์ ์ ํ ์ง์ํด์ผํ๋์ง ์ฌ๋ถ์ ๋ํ ๋ ผ์๊ฐ # 4881์ ์์ต๋๋ค.