我正在嘗試通過npm安裝github私有存儲庫,該庫包括其他私有github存儲庫作為依賴項。嘗試了很多方法和帖子,但是都沒有用。這是我在做什么:npm install git+https://github.com/myusername/mygitrepository.git在package.json中就像:"dependencies": { "repository1name": "git+https://github.com/myusername/repository1.git", "repository2name": "git+https://github.com/myusername/repository2.git"}正確的做法是什么?
- 3 回答
- 0 關注
- 2362 瀏覽
添加回答
舉報
0/150
提交
取消