neo4j-devtools / neo4j-desktop

The Neo4j Graph Platform, on your desktop OS.
19 stars 1 forks source link

Neo4j desktop - Initialization error: TypeError: Cannot read property 'name' of undefined #73

Open Manish-Giri opened 4 years ago

Manish-Giri commented 4 years ago

Two days back, I deleted some unused projects from Neo4j Desktop (to create more space to load my next dataset). Today, when I tried to start up Neo4j Desktop again, I get this error -

Screen Shot 2019-12-28 at 6 28 23 PM

I tried restarting Neo4j Desktop several times, and each time, it's the same thing.

I checked the "developer tools" tab, and there is a whole bunch of stuff in the console. I put all of it in this gist, if it helps.

Here's the relevant portion of the console which has this error message -

Screenshot 2019-12-28 18 43 23

There are several questions on stack overflow where people report the exact same issue. Here's one from SO where it was answered on March 1, 2018 that it was a known bug and it would be resolved in the next release.

Other reported issues - 1, 2, 3

Satish1536 commented 4 years ago

Using neo4j Desktop. I am getting the same error. Did you get any solution?

Manish-Giri commented 4 years ago

No, no one seems to be monitoring the issues in this repo.

For me, what worked was uninstalling and reinstalling neo4j desktop. Fortunately, I remembered the approximate sizes of my previous DBs in neo4j desktop, so I was able to figure out which folder on my hard disk corresponds to which project in neo4j desktop, based on the folder size. Then I copied over the folders to a new location, and after I created a new project in the re-installed neo4j desktop, I was able to swap out the graph.db folder from the previous backup, to the new project location.

enjoysmath commented 4 years ago

Also getting this erorr. What I did was simply delete the one and only existing "Project". I've tried reinstalling and deleting all of my db files. Issue persists.

enjoysmath commented 4 years ago

Yo, you can fix this by deleting the ".Neo4jDesktop" user data folder (typically) found under "C:\Users\\".

It works as expected now.

I found this from a StackOverflow post: https://stackoverflow.com/questions/50153885/neo4j-error-win-10-initialization-error-typeerror-cannot-read-property-n

So please upvote that person's post. Thanks.