我正在尝试使用JsonConvert.DeserializeObject<Example>(JsonConvert.SerializeObject(Json));
从GitHub安装软件包。
我之前已经做过很多事情,但是这个仓库并没有成功
yarn
我已经尝试过运气了:
https://github.com/coolwanglu/pdf2htmlEX
答案 0 :(得分:1)
这是因为该存储库不是软件包。其缺少的package.json。
答案 1 :(得分:1)
首先-如果需要整个包装:
yarn add https://github.com/coolwanglu/pdf2htmlEX.git
第二,您尝试执行的操作不起作用,因为网址末尾有<br>
:
yarn add git+https://github.com/coolwanglu/pdf2htmlEX<br>
=>
yarn add git+https://github.com/coolwanglu/pdf2htmlEX
纱线可以添加没有package.json
的存储库,这与Samuell所说的相反。 (是npm无法处理它们-创建premature close error)。
答案 2 :(得分:0)
您是否正在使用npm进行安装?
如果您有npm,只需
npm i yarn