Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Find Module in Main.js #2

Closed
darthvader666uk opened this issue Apr 26, 2021 · 2 comments
Closed

Cannot Find Module in Main.js #2

darthvader666uk opened this issue Apr 26, 2021 · 2 comments

Comments

@darthvader666uk
Copy link

Hey,

I came across your bot and liked the look of it however when I run it, I get the following:

yarn start -b WIN -q USDT -t 10.5 -p 0.01 -sl 0.01
yarn run v1.22.10
$ node main.js -b WIN -q USDT -t 10.5 -p 0.01 -sl 0.01
internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module 'C:\Users\Darth\Documents\work\pump-bot\main.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any idea? I cant find a main.js?

avalla added a commit that referenced this issue Apr 26, 2021
Small issue in package.json
@avalla
Copy link
Owner

avalla commented Apr 26, 2021

ops :) i renamed some files forgetting to update package.json

now it should work!

let me know if you have any ideas :)

thanks an regards!

@avalla avalla closed this as completed Apr 26, 2021
@darthvader666uk
Copy link
Author

Just pulled the code and it looks good. or at least I can see the stats!

I am going to take part in a pump on thursday so I will give it a full go then, I may have a few sugegstions. keep up the good work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants