Closed deomaius closed 5 years ago
A few PRs around this already. eg: https://github.com/truffle-box/react-box/pull/75
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Truffle-contract is no longer used.
I have faced this error before whilst using the new updated version of react-box;
It seems that the version provided for truffle-contract is incorrect in the client/package.json file;
"truffle-contract": "^4.0.0-next.0",
Where this is quite incorrect, as there is only a current version of 3.0.6 as stated on the npm repo so it should be as so;
"truffle-contract": "^3.0.6",
Everything should work as so, once applied!