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

Module Not Found Error #169

Open
karanmahal47 opened this issue Jul 14, 2021 · 1 comment
Open

Module Not Found Error #169

karanmahal47 opened this issue Jul 14, 2021 · 1 comment

Comments

@karanmahal47
Copy link

Hey,

I've been running into a module not found error, how do i go about fixing it?

binance-triangle-arbitrage@6.2.0 start /Users/Manny/binance-triangle-arbitrage
node src/main/Main.js

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

Error: Cannot find module '../../config/config'
Require stack:

  • /Users/Manny/binance-triangle-arbitrage/src/main/Main.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at Object. (/Users/Manny/binance-triangle-arbitrage/src/main/Main.js:1:16)
    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) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ '/Users/Manny/binance-triangle-arbitrage/src/main/Main.js' ]
    }
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! binance-triangle-arbitrage@6.2.0 start: node src/main/Main.js
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the binance-triangle-arbitrage@6.2.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Manny/.npm/_logs/2021-07-14T20_03_44_320Z-debug.log

@bmino
Copy link
Owner

bmino commented Jul 15, 2021

Hey! I'd recommend you read the project README first to get a feel for what is required to setup the project initially. You are missing the config file as described here:

image

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