-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
I am attempting to run unigraph locally on an ubuntu machine, following the readme.
When starting the server, dgraph starts without issues, but the backend server bootstrap fails. After a few successful upserts, I get the following error message:
[Subscription] Refreshing subscriptions...
[Subscription] Total of 0 type queries, 0 object queries, and 1 query queries,
[Subscription] Merged into 1 queries.
/home/unigraph/unigraph-dev/packages/unigraph-dev-common/lib/utils/entityUtils.js:415
entries = lodash_1.default.merge(entries, { _value: makePart(schemaMap[type]._definition, depth + 1, true) });
^
TypeError: Cannot read properties of undefined (reading '_definition')
at makePart (/home/unigraph/unigraph-dev/packages/unigraph-dev-common/lib/utils/entityUtils.js:415:90)
at /home/unigraph/unigraph-dev/packages/unigraph-dev-common/lib/utils/entityUtils.js:438:36
at Array.forEach (<anonymous>)
at makePart (/home/unigraph/unigraph-dev/packages/unigraph-dev-common/lib/utils/entityUtils.js:437:47)
at makePart (/home/unigraph/unigraph-dev/packages/unigraph-dev-common/lib/utils/entityUtils.js:459:56)
at /home/unigraph/unigraph-dev/packages/unigraph-dev-common/lib/utils/entityUtils.js:423:41
at Array.map (<anonymous>)
at makePart (/home/unigraph/unigraph-dev/packages/unigraph-dev-common/lib/utils/entityUtils.js:420:58)
at makePart (/home/unigraph/unigraph-dev/packages/unigraph-dev-common/lib/utils/entityUtils.js:415:65)
at /home/unigraph/unigraph-dev/packages/unigraph-dev-common/lib/utils/entityUtils.js:438:36
error Command failed with exit code 1.
I instrumented, and found that the type is subentity; the loop is called successfully (thrice) with type executable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels