iost-official / explorer Goto Github PK
View Code? Open in Web Editor NEWIOST Blockchain explorer
License: GNU Lesser General Public License v3.0
IOST Blockchain explorer
License: GNU Lesser General Public License v3.0
oquinn@black:~/iost/explorer/frontend$ npm run build --report
> [email protected] build /home/oquinn/iost/explorer/frontend
> node build/build.js
⠦ building for production...
Starting to optimize CSS...
Processing static/css/app.3a62fa2209b2ca6629fa6175df1da705.css...
Processed static/css/app.3a62fa2209b2ca6629fa6175df1da705.css, before: 47732, after: 47403, ratio: 99.31%
Hash: 35609639b3914185232e
Version: webpack 2.7.0
Time: 17432ms
Asset Size Chunks Chunk Names
static/fontawesome/webfonts/fa-solid-900.woff 63.8 kB [emitted]
static/js/vendor.a2128fb7a6c091bca19c.js 689 kB 0 [emitted] [big] vendor
static/js/manifest.feaabb1a09a43e90d68f.js 1.51 kB 2 [emitted] manifest
static/css/app.3a62fa2209b2ca6629fa6175df1da705.css 47.4 kB 1 [emitted] app
static/js/vendor.a2128fb7a6c091bca19c.js.map 4.46 MB 0 [emitted] vendor
[ removed lots of extra messages ]
ERROR in ./src/router/index.js
Module not found: Error: Can't resolve '../pages/Home' in '/home/oquinn/iost/explorer/frontend/src/router'
@ ./src/router/index.js 6:9-32
@ ./src/main.js
Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build 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/oquinn/.npm/_logs/2018-10-22T04_33_21_622Z-debug.log
This was fixed by running the following command:
mv pages/Home/Index.vue pages/Home/index.vue
What version of python do you recommend? I receive the following error:
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
When running:
npm install
I'm happy to update the README's prerequisites section with python and the recommended version.
The transaction itself
{
"status": "IRREVERSIBLE",
"transaction": {
"hash": "HoyEuoQ54zj7uA3oT1HjRntsvKuvFbyJKZQ84FgTcEA8",
"time": "1549571324869336355",
"expiration": "1549571624869336355",
"gasRatio": 1,
"gasLimit": 1000000,
"delay": "0",
"chainId": 1024,
"actions": [
{
"contract": "token.iost",
"actionName": "transfer",
"data": "[\"metanyx\",\"jerkyrs\",\"metanyx\",\"500\",\"jerkyrs gives metanyx some tokens\"]"
}
],
"signers": [
],
"publisher": "jerkyrs",
"referredTx": "",
"amountLimit": [
{
"token": "*",
"value": "unlimited"
}
],
"txReceipt": {
"txHash": "HoyEuoQ54zj7uA3oT1HjRntsvKuvFbyJKZQ84FgTcEA8",
"gasUsage": 8978,
"ramUsage": {
},
"statusCode": "SUCCESS",
"message": "",
"returns": [
"[]"
],
"receipts": [
{
"funcName": "token.iost/transfer",
"content": "[\"metanyx\",\"jerkyrs\",\"metanyx\",\"500\",\"jerkyrs gives metanyx some tokens\"]"
}
]
}
}
}
Attempted to compile Explorer's backend, but received the error as detailed below. Running the following:
go version go1.12.4 linux/amd64
node v8.16.0
mongodb db version v4.0.9
Ubuntu 16.04
Error on make:
go build -o explorer main.go
# crypto/rc4
/usr/local/go/src/crypto/rc4/rc4_asm.go:15:18: (*Cipher).XORKeyStream redeclared in this block
previous declaration at /usr/local/go/src/crypto/rc4/rc4.go:61:6
# bytes
/usr/local/go/src/bytes/bytes_decl.go:10:6: IndexByte redeclared in this block
previous declaration at /usr/local/go/src/bytes/bytes.go:101:34
/usr/local/go/src/bytes/bytes_decl.go:17:6: Equal redeclared in this block
previous declaration at /usr/local/go/src/bytes/bytes.go:18:25
/usr/local/go/src/bytes/bytes_decl.go:24:6: Compare redeclared in this block
previous declaration at /usr/local/go/src/bytes/bytes.go:37:27
# strings
/usr/local/go/src/strings/strings_decl.go:8:6: IndexByte redeclared in this block
previous declaration at /usr/local/go/src/strings/strings.go:150:34
# crypto/cipher
/usr/local/go/src/crypto/cipher/xor_amd64.go:9:6: xorBytes redeclared in this block
previous declaration at /usr/local/go/src/crypto/cipher/xor.go:58:33
/usr/local/go/src/crypto/cipher/xor_amd64.go:22:6: xorWords redeclared in this block
previous declaration at /usr/local/go/src/crypto/cipher/xor.go:83:27
Makefile:8: recipe for target 'explorer' failed
make: *** [explorer] Error 2```
I set up and start ./explorer-task
. but its speed is slow.
is there something make it fast?(ex. mongodb's setup, snapshot,and so on...)
Instructions in explorer/backend/readme.md and explorer/README.md are out of sync, specifically the backend/task section because the task command does not exist.
Command:
nohup ./task &
Should be:
./explorer-task
npm run build
> [email protected] build /home/oquinn/explorer/explorer/frontend
> node build/build.js
⠙ building for production...
Starting to optimize CSS...
Processing static/css/app.3a62fa2209b2ca6629fa6175df1da705.css...
Processed static/css/app.3a62fa2209b2ca6629fa6175df1da705.css, before: 47732, after: 47403, ratio: 99.31%
Hash: c8bcefc858a5b6f2143f
Version: webpack 2.7.0
Time: 7868ms
Asset Size Chunks Chunk Names
static/fonts/glyphicons-halflings-regular.woff2 18 kB [emitted]
static/js/0.9cdef3ba5a3e81d01b9b.js 32.3 kB 0 [emitted]
static/js/app.80b8b96a8dfa01b52d24.js 79 kB 2 [emitted] app
static/js/manifest.1050f6a91d302a6a7ae3.js 1.54 kB 3 [emitted] manifest
static/css/app.3a62fa2209b2ca6629fa6175df1da705.css 47.4 kB 2 [emitted] app
static/js/0.9cdef3ba5a3e81d01b9b.js.map 134 kB 0 [emitted]
static/js/vendor.24e1cd72458da8d9b434.js.map 2.08 MB 1 [emitted] vendor
static/js/app.80b8b96a8dfa01b52d24.js.map 508 kB 2 [emitted] app
static/css/app.3a62fa2209b2ca6629fa6175df1da705.css.map 77.6 kB 2 [emitted] app
static/js/manifest.1050f6a91d302a6a7ae3.js.map 14.7 kB 3 [emitted] manifest
index.html 1.66 kB [emitted]
static/css/index.css 5.32 kB [emitted]
static/fontawesome/css/fa-brands.css 687 bytes [emitted]
static/fontawesome/css/fa-brands.min.css 633 bytes [emitted]
static/fontawesome/css/fa-regular.css 706 bytes [emitted]
static/fontawesome/css/fa-regular.min.css 651 bytes [emitted]
static/fontawesome/css/fa-solid.css 699 bytes [emitted]
static/fontawesome/css/fa-solid.min.css 643 bytes [emitted]
static/img/activity.png 804 bytes [emitted]
static/img/arrow-douleft.png 1.55 kB [emitted]
static/img/arrow-left.png 1.01 kB [emitted]
static/img/arrow-right.png 982 bytes [emitted]
static/img/arrow-douright.png 1.57 kB [emitted]
static/img/block.png 2.05 kB [emitted]
static/img/close.png 588 bytes [emitted]
static/img/failure.png 1.64 kB [emitted]
static/img/icon.png 5.52 kB [emitted]
static/img/iostFoot.png 4.05 kB [emitted]
static/img/logo.png 5.91 kB [emitted]
static/img/search.png 2.55 kB [emitted]
static/img/menu.png 565 bytes [emitted]
static/img/success.png 1.51 kB [emitted]
static/img/txns.png 932 bytes [emitted]
static/js/npm.js 484 bytes [emitted]
static/fontawesome/webfonts/fa-regular-400.woff 14.7 kB [emitted]
static/fontawesome/webfonts/fa-regular-400.woff2 12.2 kB [emitted]
static/img/apple-touch-icon.png 11 kB [emitted]
static/img/iostWhite.png 12.1 kB [emitted]
static/css/bootstrap-theme.min.css 23.4 kB [emitted]
static/css/intlTelInput.min.css 21.1 kB [emitted]
static/fonts/glyphicons-halflings-regular.eot 20.1 kB [emitted]
static/js/vendor.24e1cd72458da8d9b434.js 1.75 MB 1 [emitted] [big] vendor
static/fonts/glyphicons-halflings-regular.woff 23.4 kB [emitted]
static/img/404.png 20.6 kB [emitted]
static/js/intlTelInput.min.js 23.7 kB [emitted]
static/css/bootstrap-theme.css 26.1 kB [emitted]
static/css/bootstrap-theme.min.css.map 25.6 kB [emitted]
static/fontawesome/webfonts/fa-regular-400.eot 31.3 kB [emitted]
static/fontawesome/webfonts/fa-regular-400.ttf 31 kB [emitted]
static/img/loading.gif 31.1 kB [emitted]
static/fontawesome/css/fontawesome.min.css 39.7 kB [emitted]
static/js/bootstrap.min.js 37 kB [emitted]
static/css/bootstrap-theme.css.map 47.7 kB [emitted]
static/css/fontawesome.css 41.1 kB [emitted]
static/fontawesome/css/fontawesome-all.min.css 41.1 kB [emitted]
static/fonts/glyphicons-halflings-regular.ttf 45.4 kB [emitted]
static/fontawesome/css/fontawesome-all.css 51.6 kB [emitted]
static/fontawesome/css/fontawesome.css 50.1 kB [emitted]
static/fontawesome/webfonts/fa-solid-900.woff2 50.4 kB [emitted]
static/fontawesome/webfonts/fa-brands-400.woff2 61.3 kB [emitted]
static/fontawesome/webfonts/fa-solid-900.woff 63.8 kB [emitted]
static/fontawesome/webfonts/fa-brands-400.woff 71.6 kB [emitted]
static/js/bootstrap.js 69.7 kB [emitted]
static/img/flags.png 66 kB [emitted]
static/js/jquery-3.3.1.min.js 86.9 kB [emitted]
static/fontawesome/webfonts/fa-regular-400.svg 105 kB [emitted]
static/img/sixTri.png 102 kB [emitted]
static/fontawesome/webfonts/fa-brands-400.eot 112 kB [emitted]
static/fontawesome/webfonts/fa-brands-400.ttf 111 kB [emitted]
static/fonts/glyphicons-halflings-regular.svg 109 kB [emitted]
static/css/bootstrap.min.css 121 kB [emitted]
static/img/iostMarket.png 118 kB [emitted]
static/fontawesome/webfonts/fa-solid-900.ttf 133 kB [emitted]
static/fontawesome/webfonts/fa-solid-900.eot 133 kB [emitted]
static/css/bootstrap.css 146 kB [emitted]
static/img/[email protected] 174 kB [emitted]
static/fonts/Montserrat-Light.woff.ttf 219 kB [emitted]
static/css/bootstrap.css.map 389 kB [emitted]
static/fontawesome/webfonts/fa-solid-900.svg 488 kB [emitted] [big]
static/css/bootstrap.min.css.map 542 kB [emitted]
static/fontawesome/webfonts/fa-brands-400.svg 600 kB [emitted] [big]
static/img/bg.png 864 kB [emitted] [big]
ERROR in static/js/vendor.24e1cd72458da8d9b434.js from UglifyJs
Unexpected token name «i», expected punc «;» [./~/base-x/index.js:15,0][static/js/vendor.24e1cd72458da8d9b434.js:34779,11]
Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
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.