current position:Home>When truffle compiles the contract, it gets stuck all the time and can't climb over the wall

When truffle compiles the contract, it gets stuck all the time and can't climb over the wall

2022-02-03 20:53:54 Q & A of Denglian community

image.png brother , My problem is the same as yours . How did you solve it later ?




Take the answer 1:

In general ,Truffle During installation , I'll bring one with me Solidity compiler :

You can use it. truffle version View version :

> truffle versionTruffle v5.0.28 (core: 5.0.28)Solidity v0.5.0 (solc-js)Node v10.17.0Web3.js v1.0.0-beta.37

It should be when your code doesn't match your own compiler , Will download a new compiler . See if the code is inconsistent with the compiler you are looking at . If it is , You can modify the code .




copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032053523939.html

Random recommended