# Error deploying contract to Celo Alfajores Testnet

**URL:** <https://forum.openzeppelin.com/t/error-deploying-contract-to-celo-alfajores-testnet/3113>\
**Category:** Support\
**Tags:** erc20, cli\
**Created:** [June 16, 2020, 9:22am UTC](https://forum.openzeppelin.com/t/error-deploying-contract-to-celo-alfajores-testnet/3113 "2020-06-16T09:22:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharma66mahesh](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/sharma66mahesh/32/2665_2.png) [@sharma66mahesh](https://forum.openzeppelin.com/u/sharma66mahesh)\
**Post date:** [June 16, 2020, 9:22am UTC](https://forum.openzeppelin.com/t/error-deploying-contract-to-celo-alfajores-testnet/3113/1 "2020-06-16T09:22:38Z")

</div>

Celo’s alfajores test net runs EVM and hence I am able to use oz and truffle with it.  
Here is my networks.js file for openzeppelin to work with  
 ![Capture3](https://us1.discourse-cdn.com/flex022/uploads/zeppelin/original/2X/6/62bdafaa6352c081e56d765a59376972c14df33f.png)  
When I run this selecting development network it works.

 ![Capture1](https://us1.discourse-cdn.com/flex022/uploads/zeppelin/original/2X/1/1a35c78332ad17084a9652d4f1204248d3aa8319.png)  
The same configuration also works if I am using truffle with both networks (development and alfajores).  
However, when trying to deploy on alfajores network with “_npx oz deploy_” command, I get the following error.  
 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/zeppelin/original/2X/5/542c20d2a308b96e082e2cab748c61d402660d14.png)

Please help me solve this.

---

<div class="post-metadata">

**Author:** ![sharma66mahesh](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/sharma66mahesh/32/2665_2.png) [@sharma66mahesh](https://forum.openzeppelin.com/u/sharma66mahesh)\
**Post date:** [June 16, 2020, 10:42am UTC](https://forum.openzeppelin.com/t/error-deploying-contract-to-celo-alfajores-testnet/3113/2 "2020-06-16T10:42:35Z")

</div>

Ok the issue is solved now. ‘_node\_modules_’ were not installed properly I guess. Re-running ‘_npm install_’ helped it.

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [June 16, 2020, 11:53pm UTC](https://forum.openzeppelin.com/t/error-deploying-contract-to-celo-alfajores-testnet/3113/3 "2020-06-16T23:53:43Z")

</div>

Hi @sharma66mahesh,

Welcome to the community 👋

I’m glad that you were able to resolve deploying to [Alfajores Testnet](https://docs.celo.org/getting-started/alfajores-testnet)

What are you building on Celo?

---

<div class="post-metadata">

**Author:** ![sharma66mahesh](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/sharma66mahesh/32/2665_2.png) [@sharma66mahesh](https://forum.openzeppelin.com/u/sharma66mahesh)\
**Post date:** [June 17, 2020, 8:35am UTC](https://forum.openzeppelin.com/t/error-deploying-contract-to-celo-alfajores-testnet/3113/4 "2020-06-17T08:35:13Z")

</div>

Thanks @abcoathup. I am working on creating a payment system on top of it using USSD. I am still not very familiar with working with USSD. Any suggestions from your side?

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [June 17, 2020, 9:00am UTC](https://forum.openzeppelin.com/t/error-deploying-contract-to-celo-alfajores-testnet/3113/5 "2020-06-17T09:00:35Z")

</div>

> [@sharma66mahesh](#):
>
> USSD

Hi @sharma66mahesh,

I don't know what USSD is. Do you have any links?

---

<div class="post-metadata">

**Author:** ![sharma66mahesh](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/sharma66mahesh/32/2665_2.png) [@sharma66mahesh](https://forum.openzeppelin.com/u/sharma66mahesh)\
**Post date:** [June 28, 2020, 8:11am UTC](https://forum.openzeppelin.com/t/error-deploying-contract-to-celo-alfajores-testnet/3113/6 "2020-06-28T08:11:23Z")

</div>

Here. [https://www.youtube.com/watch?v=YfifRJA30e8](https://www.youtube.com/watch?v=YfifRJA30e8)
