Alethio/ethereum-lite-explorer

can not find plugin version

Closed this issue · 1 comments

I (too ?) quickly installed ethereum-lite-explorer including the plugins on Arch Linux.

Successfully installed plugin "aleth.io/eth-common" to "/home/sum/DEV/ETH/ethereum-lite-explorer/dist/plugins/aleth.io/eth-common".
Successfully installed plugin "aleth.io/eth-lite" to "/home/sum/DEV/ETH/ethereum-lite-explorer/dist/plugins/aleth.io/eth-lite".
Successfully installed plugin "aleth.io/eth-memento" to "/home/sum/DEV/ETH/ethereum-lite-explorer/dist/plugins/aleth.io/eth-memento"
Successfully installed plugin "aleth.io/3box" to "/home/sum/DEV/ETH/ethereum-lite-explorer/dist/plugins/aleth.io/3box".

but looks like its looking for specific versions (which results in a 404 in the browser)

$ npm start

> ethereum-lite-explorer@1.0.0-beta.8 start /home/sum/DEV/ETH/ethereum-lite-explorer
> cd dev && npm start && cd ..


> block-explorer-dev-server@1.0.0 start /home/sum/DEV/ETH/ethereum-lite-explorer/dev
> ts-node index.ts

Listening on 127.0.0.1:3000
GET / 200 3.210 ms - 7148
GET /js/app.bundle.js?242397e15484383ef74b 304 1.118 ms - -
GET /css/normalize.css 304 0.924 ms - -
GET /css/fonts.css 304 0.959 ms - -
GET /css/style.css 304 0.951 ms - -
GET /config.json 304 0.981 ms - -
GET /js/d83770d5ef5211c092fe.bundle.js 304 0.260 ms - -
GET /plugins/aleth.io/eth-common/4.0.0/index.js 404 2.929 ms - 272
Error: ENOENT: no such file or directory, stat '/home/sum/DEV/ETH/ethereum-lite-explorer/dist/plugins/aleth.io/eth-common/4.0.0/index.js'
GET /plugins/aleth.io/3box/1.1.1/index.js 404 2.131 ms - 266
Error: ENOENT: no such file or directory, stat '/home/sum/DEV/ETH/ethereum-lite-explorer/dist/plugins/aleth.io/3box/1.1.1/index.js'
GET /plugins/aleth.io/eth-lite/4.1.0/index.js 404 1.166 ms - 270
Error: ENOENT: no such file or directory, stat '/home/sum/DEV/ETH/ethereum-lite-explorer/dist/plugins/aleth.io/eth-lite/4.1.0/index.js'
GET /fonts/Barlow-Regular.woff 304 0.499 ms - -
GET /fonts/Barlow-Medium.woff 304 0.560 ms - -

You need to edit the config.json and remove the query string that includes the explicit plugin version from every plugin URI, as mentioned in the readme:

For development, you must also remove the version query strings ?v=#.#.# from the "plugins" URIs.