Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Can not be converted to long:... Path: users #8

Closed
joeflack4 opened this issue Jul 16, 2018 · 1 comment
Closed

Can not be converted to long:... Path: users #8

joeflack4 opened this issue Jul 16, 2018 · 1 comment

Comments

@joeflack4
Copy link
Contributor

Description

Currently following the walkthrough at: https://www.youtube.com/watch?v=rPC71lUhK_I

I haven't modified the codebase, but when I get to the portion where I load react, I'm getting the following error.

screen shot 2018-07-15 at 8 41 42 pm

Can not be converted to long: org.neo4j.kernel.impl.core.NodeProxy, Location: [object Object], Path: users
@joeflack4
Copy link
Contributor Author

Solved

Solution

The route of the problem was that my sandbox instance, for whatever reason, appears to not have had the APOC library automatically installed as suggested in the readme:

For schemas using the @cypher directive via neo4j-graphql-js, you need to have the APOC library installed, which is automatic in Sandbox, Cloud and a single click install in Neo4j Desktop.

I was not sure how to install the APOC library in the Sandbox, so I installed locally:

  1. Download Neo4j Desktop
  2. Install and open Neo4j Desktop.
  3. Create a new DB by clicking "New Graph", and clicking "create local graph" (screenshot 1)
  4. Set password to "letmein" (as suggested by api/.env), and click "Create".
  5. Make sure that the default credentials in api/.env are used. Leave them as follows.
NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=letmein
  1. Click "Manage".
  2. Click "Plugins".
  3. Find "APOC" and click "Install".
  4. Click the "play" button at the top of left the screen, which should start the server. (screenshot 2)
  5. Wait until it says "RUNNING".
  6. Proceed forward with the rest of the tutorial.

Screenshots

  1. Create a new DB by clicking "New Graph"

screen shot 2018-07-15 at 10 34 10 pm

2.

screen shot 2018-07-15 at 10 39 26 pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant