shesek / bitcoinuri Goto Github PK
View Code? Open in Web Editor NEWCreate bitcoin payment URIs with amounts that are dynamically adjusted to reflect the current bitcoin exchange rate.
Create bitcoin payment URIs with amounts that are dynamically adjusted to reflect the current bitcoin exchange rate.
Hi,
hope you still watching this and help me...
I get an error at starting the Program and have no idea...
~/ ฿> PORT=3000 npm start
[email protected] start /home/bitcoin/bitcoinuri
node server.js
/home/bitcoin/bitcoinuri/util.js:5
, { PaymentRequest, PaymentDetails } = require('bcoin').bip70
^
TypeError: Cannot destructure property PaymentRequest
of 'undefined' or 'null'.
at Object. (/home/bitcoin/bitcoinuri/util.js:5:60)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/home/bitcoin/bitcoinuri/server.js:3:46)
at Module._compile (module.js:653:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /home/bitcoin/.npm/_logs/2019-02-15T07_27_51_316Z-debug.log
and the log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/lib/nodejs/bin/node',
1 verbose cli '/usr/local/lib/nodejs/bin/npm',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]start: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle truestart: PATH: /usr/local/lib/nodejs/lib/node_modules/npm/node_mo
8 verbose lifecycle [email protected]
dules/npm-lifecycle/node-gyp-bin:/home/bitcoin/bitcoinuri/node_modules/.bin:/usr/local/lib/nodejs/bi
n:/usr/local/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr
/local/games:/usr/games:/usr/local/bin/sas:/home/bitcoin/go/bin:.:/home/bitcoin/dotnet
9 verbose lifecycle [email protected]start: CWD: /home/bitcoin/bitcoinuristart: Args: [ '-c', 'node server.js' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]start: Returned: code: 1 signal: nullstart: Failed to exec start script
12 info lifecycle [email protected]
13 verbose stack Error: [email protected] start: node server.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/nodejs/lib/node_modules/npm/node_mo
dules/npm-lifecycle/index.js:301:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess. (/usr/local/lib/nodejs/lib/node_modules/npm/node_mo
dules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:915:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/bitcoin/bitcoinuri
16 verbose Linux 4.14.79-v7+
17 verbose argv "/usr/local/lib/nodejs/bin/node" "/usr/local/lib/nodejs/bin/npm" "start"
18 verbose node v8.15.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start: node server.js
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Thanks
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.