Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Error HH8: There's one or more errors in your config file: * Invalid value undefined for HardhatConfig.networks.rinkeby.url - Expected a value of t

$
0
0

I get this error when i try to run my script on the rinkeby network:

Error HH8: There's one or more errors in your config file:Invalid value undefined for HardhatConfig.networks.rinkeby.url - Expected a value of type string.
     require('@nomiclabs/hardhat-waffle');require('dotenv').config();module.exports = {  solidity: '0.8.1',  networks: {    rinkeby: {      url: process.env.STAGING_ALCHEMY_KEY,      accounts: process.env.PRIVATE_KEY,    },  },};

Please what could possibly be the problem?


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>