insight-api
insight-api copied to clipboard
installation error
ENV: #node -v v6.13.1 #npm -v 3.10.10 #cat /etc/os-release NAME="Ubuntu" VERSION="16.04.3 LTS "
account:ubuntu
Follow the installation document:
while I run
npm i https://github.com/qtumproject/qtumcore-node.git#master
I got these WARNS: npm WARN enoent ENOENT: no such file or directory, open '/home/ubuntu/package.json' npm WARN ubuntu No description npm WARN ubuntu No repository field. npm WARN ubuntu No README data npm WARN ubuntu No license field.
After this it genarated a diractory /home/ubuntu/node_modules
Ignore those WARNS,I run followd the commands: npm i https://github.com/qtumproject/qtumcore-node.git#master
/home/ubuntu/node_modules/qtumcore-node/bin/qtumcore-node create node1
cd node1
/home/ubuntu/node_modules/qtumcore-node/bin/qtumcore-node install https://github.co/qtumproject/insight-api.git#master
But when I start qtumcore-node ,I got errors.It could not start.config file is same as yours.
/home/ubuntu/node_modules/qtumcore-node/bin/qtumcore-node start
[2018-03-28T05:45:07.908Z] info: Using config: /home/ubuntu/.bitcore/qtumcore-node.json [2018-03-28T05:45:07.910Z] info: Using network: livenet [2018-03-28T05:45:07.911Z] info: Starting qtumd [2018-03-28T05:45:07.913Z] info: Using qtum config file: /home/ubuntu/.bitcore/data/qtum.conf [2018-03-28T05:45:07.916Z] info: Starting qtum process Error: Unable to start HTTP server. See debug log for details. [2018-03-28T05:45:07.955Z] warn: Qtum process unexpectedly exited with code: 1 [2018-03-28T05:45:07.955Z] warn: Restarting qtum child process in 5000ms [2018-03-28T05:45:12.956Z] info: Using qtum config file: /home/ubuntu/.bitcore/data/qtum.conf [2018-03-28T05:45:12.958Z] info: Starting qtum process Error: Unable to start HTTP server. See debug log for details. qtumd: /usr/include/boost/thread/pthread/mutex.hpp:111: boost::mutex::~mutex(): Assertion `!res' failed. [2018-03-28T05:45:13.173Z] warn: Qtum process unexpectedly exited with code: null [2018-03-28T05:45:13.173Z] warn: Restarting qtum child process in 5000ms [2018-03-28T05:45:18.173Z] info: Using qtum config file: /home/ubuntu/.bitcore/data/qtum.conf [2018-03-28T05:45:18.174Z] info: Starting qtum process Error: Unable to start HTTP server. See debug log for details. [2018-03-28T05:45:18.214Z] warn: Qtum process unexpectedly exited with code: 1 [2018-03-28T05:45:18.214Z] warn: Restarting qtum child process in 5000ms [2018-03-28T05:45:23.214Z] info: Using qtum config file: /home/ubuntu/.bitcore/data/qtum.conf [2018-03-28T05:45:23.214Z] info: Starting qtum process
我也遇到这问题,请问下你解决了吗?