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

Error when trying to start bitcore-node: DB service #590

Open
siliconswampio opened this issue Mar 12, 2021 · 0 comments
Open

Error when trying to start bitcore-node: DB service #590

siliconswampio opened this issue Mar 12, 2021 · 0 comments

Comments

@siliconswampio
Copy link

I am having issues starting the bitcore-node. I run into the error below and I was able to find the component that creates this error but there wasn't anything of help. Any Help is appreciated, thank you!
bitcore-node.json
{ "network": "testnet", "port": 3001, "datadir": "/tmp", "services": [ "p2p", "db", "header", "block", "mempool", "address", "transaction", "timestamp", "fee", "insight-api", "web" ], "servicesConfig": { "insight-api": { "routePrefix": "api", "disableRateLimiter": true, "enableCache": true }, "fee": { "rpc": { "user": "local", "pass": "local", "host": "localhost", "protocol": "http", "port": 18332 } } } }

`[root@localhost bitcore-node]# ./bin/bitcore-node start
lookInRequirePathConfig
[2021-03-12T22:57:32.119Z] info: Checked the current working directory for service: p2p
lookInCwd
lookInBuiltInPath
lookInRequirePathConfig
[2021-03-12T22:57:32.274Z] info: Checked the current working directory for service: db
lookInCwd
[2021-03-12T22:57:32.292Z] info: Checked the built-in path: lib/services, for service: db
lookInBuiltInPath
lookInModuleManifest
KJAHSDLKJHASLKDJHLKJSADKJASHDLKJHSA
/cam-girl/bitcore-node/lib/scaffold/start.js:154
throw new Error('Attempted to load the ' + service.name + ' service from: ' +
^

Error: Attempted to load the db service from: the requirePath in the services' config, then "/cam-girl/bitcore-node" then from: "/cam-girl/bitcore-node/lib/scaffold/../lib/services" finally from: "/cam-girl/bitcore-node/package.json" - bitcoreNode field. All paths failed to find valid nodeJS code.
at loadModule (/cam-girl/bitcore-node/lib/scaffold/start.js:154:11)
at Function.setupServices (/cam-girl/bitcore-node/lib/scaffold/start.js:193:7)
at start (/cam-girl/bitcore-node/lib/scaffold/start.js:25:31)
at Command. (/cam-girl/bitcore-node/lib/cli/main.js:66:7)
at Command.listener (/cam-girl/bitcore-node/node_modules/commander/index.js:300:8)
at Command.emit (events.js:198:13)
at Command.parseArgs (/cam-girl/bitcore-node/node_modules/commander/index.js:635:12)
at Command.parse (/cam-girl/bitcore-node/node_modules/commander/index.js:457:21)
at Object.main (/cam-girl/bitcore-node/lib/cli/main.js:143:11)
at Liftoff. (/cam-girl/bitcore-node/lib/cli/bitcore.js:28:16)`

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

1 participant