saiteja pasula saiteja pasula - 12 days ago 5
CSS Question

Trying to display NEO4J data in a html page through json

I wanted to display the nodes present in the Neo4j graph data-base.
And I have used alchemy.min.js and achemy.min.css through cdn of graphalchemist.com. But it shows a blank page and in the console it shows an error. Here output:

enter image description here

Here html:

enter image description here

Please help me solve this error.And suggest me if there is a better way of displaying the nodes of neo4j and its relationships.Thanks in advance.

Answer

If you look at the error in the console it shows an unexpected token of '<' i.e. left angle bracket.

This is a common error when your resource is an html file instead of a js or css file (in this case it should be a js file.) Try changing your link and finding the file elsewhere as your js cdn file leads to a squatter site right now. http://cdn.graphalchemist.com/alchemy.min.js You can check by clicking that.

When you check the link of your cdn it should display a "plain text" page black on white kind of deal.

EDIT:

Try this cdn link instead: https://cdnjs.cloudflare.com/ajax/libs/alchemyjs/0.4.2/alchemy.min.js

You can see the rest of them here https://cdnjs.com/libraries/alchemyjs.

Comments