jklepatch / eattheblocks

Source code for Eat The Blocks, a screencast for Ethereum Dapp Developers

Home Page:https://eattheblocks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error recived Lesson 12 flash loans

samlyn696 opened this issue · comments

tried several times same steps
keep reciving this error
any suggestion please?

node:internal/url:552
throw new ERR_INVALID_URL(input);
^

TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:371:5)
at onParseError (node:internal/url:552:9)
at new URL (node:internal/url:628:5)
at Object.helpers [as parseURL] (C:\profitable-flashloans\node_modules\web3-providers-ws\lib\helpers.js:14:20)
at new WebsocketProvider (C:\profitable-flashloans\node_modules\web3-providers-ws\lib\index.js:61:29)
at Object. (C:\profitable-flashloans\run-arbitrage.js:4:5)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
input: 'undefined',
code: 'ERR_INVALID_URL'
}
PS C:\profitable-flashloans>