-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portable versions of explorer? #29
Comments
Hi I've never tried to build Explorer on Windows. I don't see any error messages in console logs that you provided. Could you specify what errors do you see? To be able to help, I need to understand what you're going to do. Please describe your use case in more detail. If you just need to run Explorer locally, you can use this docker image https://hub.docker.com/r/wavesplatform/explorer Cheers |
Hi, @beregovoy68! There is some errors with
cann't be finished,
cann't be finished too. But, I see this required python27.EXE, Also, i think, will be better to you just make a full package, including python and node.js, |
Hi, @username1565! What the version of node u use? |
Hi, @tsigel. Thanks for your info! I see, my node version is:
There, by your link, I see:
So I just did update
Then, just
And after slow process of linking 40966 dependendies...
Then
Then... Try to build old wavesblockexplorer from this branch, in another folder...
Try to install block-explorer:
in log...
And... I saw this warnings earlier:
Then I did try to install gulp-cli in old wavesblockexplorer folder:
I see from this logs, npm version is deprecated, so I did try update npm
Because updating try in the wavesblockexplorer folder. Try update npm - globaly:
Then, try upgrade global:
Then...
What there is in that 2019-10-01T09_49_07_617Z-debug.log??
All pathways, seems like correct, but error after try to take something from git. |
Hi @username1565, If you want to build an old Explorer, you also need to install bower. Please give it a try and let me know if it worked or not. |
Hi, @beregovoy68! Try to install bower:
Success! Then, try to install old wavesblockexplorer:
Then, try
Try to fix vulnerabilities:
Now, I don't see moderated vulnerabilities, and this seems, like installed. After this all, I did try to build old wavesblockexplorer:
But i see the following error:
Building process was been failed. Then, I did try to install gulp locally, in the wavesblockexplorer folder:
After this I did try to install gulp-cli locally, in the wavesblockexplorer folder:
And then, i just try to build again - the same error:
All this says about there is some problem, inside scripts. |
I just did try to find in google this error:
And I see here, this is error in gulp. And for node v12 need to install gulp 4+
So I did update gulp on the node:
After this, I just did try to install old block explorer, and this seems, like installed:
Also, there is used already installed After this, I did try to fix vulnerabilities:
Then, I just show the info about manually fixing 1 vulnerabilitie:
Then, I did try to build, and see another error:
But, here, in your guide, I see old block-explorer can be runned locally, without building:
Then I did try to do it:
And after this, i just did try to start it, but see an error:
After read this error carefully, I see some files does not exists in
Go to http://localhost:3000/ and see this:
Don't know what to do now... Maybe, you need to change the folder name from |
I just did try to build this, using pre-installed
Then I see yarn.lock file there, and after this, I did try to
Server log seems like server is working good:
When I tried to open http://localhost:3000/ I saw previous posted screen, |
I just got success for compile Earlier, I did already try to do
As you can see, node-sass was been added not globally, and here is not using gulp.
And then, I didn't saw switching I still cann't using The old wavesblockexplorer was been compiled after some edits and modifications... One more fix was been at line 11 I just did change the directory:
Then...
I'm not sure, my compiled old block-explorer is working with node directly, because through that scripts, it can loading some info from wavesblockexplorer.com. Anyway, right now, you can add the missing files and correct pathways, for correct compilation and working of this. Best Regards. UPD: Also, I did try to connect compiled wavesexplorer to my local node, but I have no success. |
Bump! Need to add some files in the source code to make old blockexplorer working, after installation. |
How to disable CORS for wavesexploerlite? After building, this not working, and there is some errors in console, about CORS not allowed on the server. |
Could you specify which headers you see in responses from a Waves public node? In particular, what values you get in header |
When I try to open https://wavesexplorer.com/ I just see
I see on the
and this is the headers of this requests:
The following error I see in console.log:
This is 360 Extreme Explorer browser. Mozilla Firefox ESR. Console.log:
The same problem, on localhost, after installation of wavesexplorer. But! This wavesblockexplorer working good: http://wavesblockexplorer.com/ All that means need to fix something in the source code, to install this and working without any bugs, like old-wavesexplorer working good, after installation. |
I can't see headers for any requests your browser makes to Could you post here your Firefox ESR version? Anyway, I've reported that back to node support team, they are looking into it. If you still see these errors please contact support@wavesplatform.com. |
The old explorer makes requests differently and may show inconsistent results as subsequent requests might be processed by different nodes. |
Hi, @beregovoy68.
Links:
Headers from "Network"-tab:
And, as you can see, nodes.wavesnodes.com responding with status-code 204. But, for working https://wavesblockexplorer.com
Headers:
And, as you can see, waves-node.guarda.co responding with status-code 200 (OK).
But this is not the main problem of this issue. The old waves-block-explorer, after my modifications, is working without any problems, after install this.
I want to know what to write for them, to solve and fix, this trouble with CORS, faster and elegantly?
Hm... I just see on "Network"-tab the |
I try to install your explorer https://github.com/wavesplatform/WavesExplorerLite
but I see some error after trying to start command
after this try to run
Here is the partial log:
then I see this errors.
This need Python27 in folder
C:\\Python27\\python.EXE
.I just try the command
And I see Python27 folder then,
but yarn install cann't compile and stop with errors after
node-sass
- step.UPD: Trying this again with administrative privelegies - stop after python27 found...
Then, try:
And got fail... Errors...
I see some files was been added in
/node_modules/
folder.And I see too many errors, while i try to do compilation of this.
Also, I tried to install this old block-explorer: https://github.com/wavesplatform/WavesExplorerLite/tree/old-explorer
But this don't working too. Some variable is undefined there, inside
fs.js
.Do you have portable versions of this explorers, in zip-archive, without need to any installation?
Maybe you can add node.js portable and python portable, there, inside zip, no?
The text was updated successfully, but these errors were encountered: