ExtropyIO / defi-bot

Tutorial for building DeFi arbitrage bots
1.17k stars 462 forks source link

Cannot find module 'dotenv' when executing #10

Closed Watermana closed 3 years ago

Watermana commented 3 years ago

I've done all the steps to set up the node.js bot and have added the info to my .env file but it keeps throwing this error:

internal/modules/cjs/loader.js:883 throw err; ^

Error: Cannot find module 'dotenv' Require stack: