devslopes / blockchat Goto Github PK
View Code? Open in Web Editor NEWA simple Javascript chat app built on the blockchain with Lotion & Tendermint
Home Page: https://devslopes.com
A simple Javascript chat app built on the blockchain with Lotion & Tendermint
Home Page: https://devslopes.com
This error pops while running this app
C:\Windows\system32>blockchat
connected
enter a username: C:\Users\wVw_PC\AppData\Roaming\npm\node_modules\blockchat\nod
e_modules\supercop.js\lib.js:97
throw ex;
^
Error: connect ECONNREFUSED 159.65.168.34:46657
at Object.exports._errnoException (util.js:1024:11)
at exports._exceptionWithHostPort (util.js:1047:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1150:14)
C:\Windows\system32>
npm ERR! Linux 4.15.0
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "blockchat"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! path /root/node_modules/tendermint-node/bin/tendermint
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/root/node_modules/tendermint-node/bin/tendermint'
npm ERR! enoent ENOENT: no such file or directory, chmod '/root/node_modules/tendermint-node/bin/tendermint'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log
/blockchat# node chat-node.js
starting blockchain interface on port 3000...
chain state : http://localhost:3000/state
transactions: http://localhost:3000/txs
Please report the following error as a Github Issue on:
Please report the following error as a Github Issue on:
https://github.com/devslopes/blockchat
Possibly Unhandled Rejection at: Promise Promise {
{ Error: ENOENT: no such file or directory, open 'priv_validator.json'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Lotion (/root/blockchat/node_modules/lotion/index.js:63:19)
at main (/root/blockchat/chat-node.js:68:15)
at Object. (/root/blockchat/chat-node.js:131:1)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'priv_validator.json' } } reason: { Error: ENOENT: no such file or directory, open 'priv_validator.json'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Lotion (/root/blockchat/node_modules/lotion/index.js:63:19)
at main (/root/blockchat/chat-node.js:68:15)
at Object. (/root/blockchat/chat-node.js:131:1)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'priv_validator.json' }
Trace
at process. (/root/blockchat/chat-node.js:128:13)
at emitTwo (events.js:126:13)
at process.emit (events.js:214:7)
at emitPendingUnhandledRejections (internal/process/promises.js:108:22)
at runMicrotasksCallback (internal/process/next_tick.js:124:9)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
Possibly Unhandled Rejection at: Promise Promise {
{ Error: ENOENT: no such file or directory, open 'priv_validator.json'
at Object.fs.openSync (fs.js:652:18)
at Object.fs.readFileSync (fs.js:553:33)
at Lotion (/home/node/blockchat/node_modules/lotion/index.js:63:19)
at main (/home/node/blockchat/chat-node.js:69:15)
at Object. (/home/node/blockchat/chat-node.js:132:1)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'priv_validator.json' } } reason: { Error: ENOENT: no such file or directory, open 'priv_validator.json'
at Object.fs.openSync (fs.js:652:18)
at Object.fs.readFileSync (fs.js:553:33)
at Lotion (/home/node/blockchat/node_modules/lotion/index.js:63:19)
at main (/home/node/blockchat/chat-node.js:69:15)
at Object. (/home/node/blockchat/chat-node.js:132:1)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'priv_validator.json' }
Trace
at process. (/home/node/blockchat/chat-node.js:129:13)
at emitTwo (events.js:125:13)
at process.emit (events.js:213:7)
at emitPendingUnhandledRejections (internal/process/promises.js:85:22)
at runMicrotasksCallback (internal/process/next_tick.js:124:9)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:607:11)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
[email protected] preinstall /root/.nvm/versions/node/v8.10.0/lib/node_modules/blockchat/node_modules/tendermint-node
rm -f ./bin/tendermint && touch ./bin/tendermint
touch: impossible de faire un touch './bin/tendermint': Permission non accordée
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] preinstall: rm -f ./bin/tendermint && touch ./bin/tendermint
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] preinstall 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! /root/.npm/_logs/2018-08-12T13_45_51_499Z-debug.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.