cryptoviz
cryptoviz copied to clipboard
Build fails with some files not found
Hi
Please find the error which aborts the build. Please help.
http://i.cubeupload.com/rVbLyM.png
It was not clear in your instructions C:\GKT was needed. Once that is done, build was through. however could not start the app. Below instructions fail.
node start (error=> start not recognized) node src/index.js (error => import not recognized)
How do we start the app?
Hey. Sorry you're having issues building this; the documentation isn't very good and I'll update it.
The first error was caused because your system is missing the Cairo library which is used by the canvas package.
Once you've installed Cairo and run npm install
to install the dependencies, you can then run npm start
to start the application which will launch it on http://localhost:8000
If you want, I've got a version of the site running at https://cryptoviz.net/ that you can use if you just want to check it out.
Please let me know if you have any more issues, and I'll work on updating the documentation so it's more clear.
Here is the screen I am getting and always stays loading forever when I click https://cryptoviz.net/
http://i.cubeupload.com/s37SFf.png
I already have Cairo in C:/GKT else build would have failed right?
I tried in ubuntu also. Now npm start works, but localhost:8000 is still showing nothing, just black blank screen.
This is what I get in ubuntu (Virtual box)
Hmm. Open the JavaScript console on the web browser on the localhost version as well as the cryptoviz.net version and see if anything shows up. If nothing showing up on the cryptoviz.net one, then there's probably some kind of issue with network connectivity.
Here are the errors:
Ahh, it seems that Poloniex has some kind of anti-bot protection or similar that it's using to prevent you from accessing its API endpoints, which are necessary to use CryptoViz.
Please try visiting https://poloniex.com/public?command=returnCurrencies manually in your web browser. It may ask you to fill in a capcha to verify you're a human, which you should do. I think this is the same issue as this one: https://github.com/dutu/poloniex-api-node/issues/20
Please let me know if this fixes the problem. If so, I'll have to put in a check into the codebase to see if this happens for others and direct them to perform this process themselves.
I did that manually, values returned in browser, but via script again, same issue
Reading through the thread more closely, it looks like you won't be able to access the page automatically if your IP is flagged by Cloudflare: https://github.com/dutu/poloniex-api-node/issues/20#issuecomment-322187159. This can happen if you're using a public IP or one that's behind a proxy that's hosted on a cloud service provider, for example.
I'll work on creating a proxy for these API requests on my own server if they fail, and adding that to the site.