yuyasugano / pancake-bakery-arbitrage

A sample application invokes a flashswap in PancakeSwap and a monitoring tool in Node.js.
305 stars 194 forks source link

error when running indes.js #34

Closed nervodatascience closed 2 years ago

nervodatascience commented 2 years ago

I have an error when running index.js

**C:\Users\Administrator\pancake-bakery-arbitrage>node index.js C:\Users\Administrator\pancake-bakery-arbitrage\index.js:38 Flashswap.networks[process.env.NETWORKID].address ^

TypeError: Cannot read property 'address' of undefined at Object. (C:\Users\Administrator\pancake-bakery-arbitrage\index.js:38:47) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) at internal/main/run_main_module.js:17:47**