执行编译合约时出现错误

✔ Fetching solc version list from solc-bin. Attempt #1
Error: TypeError: Cannot read property '5.1.65' of undefined

解决方法
重新安装旧版本 truffle 5.1.65

npm install -g truffle@~5.1.65

标签: none