松露合约库已从回购中移出: https://github.com/trufflesuite/truffle-contract 到新的仓库: https://github.com/trufflesuite/truffle/tree/next/packages/truffle-contract 但是NPM Registry仍然指向旧仓库: https://www.npmjs.com/package/truffle-contract
我尝试使用以下方法更新我的依存关系:
NOPAppender
要么
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="NOP" class="ch.qos.logback.core.helpers.NOPAppender"/>
<root level="INFO">
<appender-ref ref="NOP"/>
</root>
</configuration>
但是出现以下错误:
npm install -S https://github.com/trufflesuite/truffle/tree/next/packages/truffle-contract
我已经阅读了NPM文档:https://docs.npmjs.com/cli/install 但是我还没有开始工作。