neo4j-devtools / neuler

Playground for Neo4j Graph Algorithms
30 stars 13 forks source link

Can't install #147

Closed hygorxaraujo closed 1 year ago

hygorxaraujo commented 2 years ago

Every time I try to install the Graph Data Science Playground from the apps gallery it ends up installing an "app" with the title MyJFrog. image

If I try to open this "app" it only shows the following window: image

If I try to access the address from a browser it gets me to the following page: image

patrickswelsh commented 2 years ago

I'm having the same issue. I even tried building the package myself from this repo but I had a lot of difficulty installing all the dependencies. Has this project been abandoned, I wonder?

patrickswelsh commented 2 years ago

Looking more closely: MyJFrog appears to be some sort of package repository (see screenshot), and I also saw it referenced in the yarn.lock file as the source of the dependencies. So maybe its the server that hosts the dependencies that's down? I'll let you know if I figure out a workaround...

image

patrickswelsh commented 2 years ago

In fact - paid even more attention as I went to build the package: For each dependency, its trying to download them from myjfrog... and it says the packages are corrupted. So we need to find another source for the deps... image

patrickswelsh commented 2 years ago

Ok so here's a bit more of an update. I found that I can force it out of using jfrog as a repository. So if you clone this repo, and cd into the project's folder, you can run npm install --registry https://registry.npmjs.org and it will install 90% of the packages... it just won't find the one for the app: graph-app-kit. For that, you need to pull it from github by running npm install graph-app-kit https://github.com/neo4j-devtools/graph-app-kit

However, I'm having the darndest time installing the components of graph-app-kit. When I try to build this project by running npm run build it fails saying that its missing graph-app-kit/components/GraphAppBase.

From that point, I was able to actually just copy the entire folder "Components" from the Graph-app-kit repo into the neuler/node-packages/graph-app-kit folder, and it didn't error out for missing things... but then it gave me some error about not being able to parse jsx files. sigh.

patrickswelsh commented 2 years ago

I reached out to Neo4J and @nglgzz , one of the devs from Neo4J. He told me the team in charge of Neuler is working on the issue, but for now has republished Neuler to the main npm registry:

The team responsible for the Neuler tool is looking into it. For now the package has been published at https://registry.npmjs.org/neuler (you can paste this URL in Neo4j Desktop to install the graph app).

I did this and Neuler is now working for me!

nglgzz commented 2 years ago

Happy to hear you got Neuler to work in the end! Just want to clarify though, that I'm not the admin of this repo, I just happen to contribute to other repos within the neo4j-devtools organization.

patrickswelsh commented 2 years ago

Happy to hear you got Neuler to work in the end! Just want to clarify though, that I'm not the admin of this repo, I just happen to contribute to other repos within the neo4j-devtools organization.

Got it. Thanks even more for your help, then!

hygorxaraujo commented 1 year ago

Thank you, everyone! I managed to install it with the new link https://registry.npmjs.org/neuler