Error deploying contract to Celo Alfajores Testnet

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
When I run this selecting development network it works.


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.

Please help me solve this.

1 Like

Ok the issue is solved now. ‘node_modules’ were not installed properly I guess. Re-running ‘npm install’ helped it.

1 Like

Hi @sharma66mahesh,

Welcome to the community :wave:

I’m glad that you were able to resolve deploying to Alfajores Testnet

What are you building on Celo?

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?

1 Like

Hi @sharma66mahesh,

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

Here. https://www.youtube.com/watch?v=YfifRJA30e8