Comments (3)
fill the .env with the missing variables. You probably shouldn't try to run things on the internet if you can't read code or before reading the code.
from subway.
Answered by @htkcodes
from subway.
fill the .env with the missing variables. You probably shouldn't try to run things on the internet if you can't read code or before reading the code.
Oh I've read the code and filled in those missing variables (read title of issue) and it still gives me that error. I must've just filled one of them in wrong tbh... You don't need to be rude about it
Do this
import { dirname } from 'path';
import { fileURLToPath } from 'url';
const __dirname = dirname(fileURLToPath(import.meta.url));
dotenv.config({ path: `${__dirname}/.env` });
from subway.
Related Issues (18)
- Could you explain the calling of call() function in Sandwich.sol? HOT 1
- 此程序本人已吃透,需要用夹子的可以联系Telegram: james1847
- Flashbots: Execution reverted, why? HOT 1
- node:events:504 throw er; // Unhandled 'error' event
- Transcation reverted. HOT 1
- Yulp Contract deployement HOT 3
- Use a wrong variable in univ2.js HOT 1
- Duplicated code in relayer.js HOT 1
- getUniv2ExactWethTokenMinRecv for loop never runs / function does nothing HOT 1
- issue HOT 2
- error while simulating HOT 2
- Is the math in getUniv2DataGivenIn incorrect? HOT 17
- Remove Flashbots HOT 4
- buy/sell problem HOT 1
- weth and token in payloads looks switched. I think it should be the other way around HOT 17
- frontrun tx always reverts with ERC20: transfer amount exceeds balance HOT 2
- What's next when found potentially sandwichable txs ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subway.