Hi @redn,
Welcome to the community
I was able to use your BoxV2 (after modifying Box.sol to make value
internal
) and run prepare upgrade.
My configuration:
$ npx truffle version
Truffle v5.1.45 (core: 5.1.45)
Solidity - 0.7.1 (solc-js)
Node v12.18.4
Web3.js v1.2.1
Did you try doing truffle compile --all
?
See the documentation for details:
As an aside, I use WSL2 in Windows 10. You may want to consider using Windows Subsystem for Linux, see: Solidity Smart Contract development on Windows