Shen Yang

Results 3 comments of Shen Yang

Solved this by adding a solidity file under src/main/solidity/. This error may caused by missing package.json under build/ dir when working with [gradle-node-plugin](https://github.com/node-gradle/gradle-node-plugin), package.json is generated in gradle task 'resolveSolidity'....

According to https://github.com/web3j/web3j-sokt/blob/92dabb69e0e690a6d1039067598009093d4d826c/src/main/kotlin/org/web3j/sokt/VersionResolver.kt#L48, I added a releases.json file manually under $user.home/.web3j/solc/ from https://raw.githubusercontent.com/web3j/web3j-sokt/master/src/main/resources/releases.json and get through this temporary.

I met the same problem, Gradle 7.4, Windows 10.