-
Notifications
You must be signed in to change notification settings - Fork 635
Description
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)`