# Unable to deploy Upgradeable ERC20 using Truffle: The requested contract was not found

**URL:** <https://forum.openzeppelin.com/t/unable-to-deploy-upgradeable-erc20-using-truffle-the-requested-contract-was-not-found/4905>\
**Category:** Upgrades\
**Tags:** erc20\
**Created:** [December 4, 2020, 10:06am UTC](https://forum.openzeppelin.com/t/unable-to-deploy-upgradeable-erc20-using-truffle-the-requested-contract-was-not-found/4905 "2020-12-04T10:06:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![bevis\_chen2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/bevis_chen2/32/8145_2.png) [@bevis\_chen2](https://forum.openzeppelin.com/u/bevis_chen2)\
**Post date:** [August 11, 2021, 1:28am UTC](https://forum.openzeppelin.com/t/unable-to-deploy-upgradeable-erc20-using-truffle-the-requested-contract-was-not-found/4905/6 "2021-08-11T01:28:41Z")

</div>

You need to using `truffle compile --all` to recompile your contracts, then using `truffle migrate` to deploy.

If I had compiled some contracts already, Truffle doesn't compile the inherited contracts of your new contracts to json files. I don't know whether or not it is a bug, but I found the issue in my projects.

---

_[View the full topic](https://forum.openzeppelin.com/t/unable-to-deploy-upgradeable-erc20-using-truffle-the-requested-contract-was-not-found/4905)._
