Compilation failed. See above.
at Object.compile (/usr/local/lib/node_modules/truffle/build/webpack:/packages/workflow-compile/legacy/index.js:80:1)
Truffle v5.1.11 (core: 5.1.11)
Node v12.14.1
Apparently the Truffle update is conflicting with the code. Any way to fix this? I tried changing the eversion on the election.sol file but was unable to move forward with the step after doing so.
Hi I am working on election Dapp after downloading the update. After running the truffle migrate --reset and I got the message.
Error: Truffle is currently using solc 0.5.16, but one or more of your contracts specify "pragma solidity 0.4.20". Please update your truffle config or pragma statement(s). (See https://truffleframework.com/docs/truffle/reference/configuration#compiler-configuration for information on configuring Truffle to use a specific solc compiler version.)
Compilation failed. See above. at Object.compile (/usr/local/lib/node_modules/truffle/build/webpack:/packages/workflow-compile/legacy/index.js:80:1) Truffle v5.1.11 (core: 5.1.11) Node v12.14.1 Apparently the Truffle update is conflicting with the code. Any way to fix this? I tried changing the eversion on the election.sol file but was unable to move forward with the step after doing so.