useid / semcom

A decentralised registry to support the dynamic binding of semantic components in Solid data browsers.
https://docs.digita.ai/semcom
Other
7 stars 2 forks source link

Getting all components fails #83

Closed wouteraj closed 3 years ago

wouteraj commented 3 years ago

To reproduce:

The server prints the following error in the console.

/Users/wouter/Projects/semcom/packages/semcom-node/node_modules/rxjs/internal/util/hostReportError.js:4
setTimeout(function () { throw err; });
^

TypeError: Quad is not a function
at ComponentTransformerService.toQuadsOne (/Users/wouter/Projects/semcom/packages/semcom-node/dist/component/services/component-transformer.service.js:22:13)
at /Users/wouter/Projects/semcom/packages/semcom-node/dist/component/services/component-transformer.service.js:40:51
at Array.map (<anonymous>)
at ComponentTransformerService.toQuads (/Users/wouter/Projects/semcom/packages/semcom-node/dist/component/services/component-transformer.service.js:40:27)
at SwitchMapSubscriber.project (/Users/wouter/Projects/semcom/packages/semcom-node/dist/handlers/content-negotiation.handler.js:39:48)
at SwitchMapSubscriber._next (/Users/wouter/Projects/semcom/packages/semcom-node/node_modules/rxjs/internal/operators/switchMap.js:49:27)
at SwitchMapSubscriber.Subscriber.next (/Users/wouter/Projects/semcom/packages/semcom-node/node_modules/rxjs/internal/Subscriber.js:67:18)
at MapSubscriber._next (/Users/wouter/Projects/semcom/packages/semcom-node/node_modules/rxjs/internal/operators/map.js:55:26)
at MapSubscriber.Subscriber.next (/Users/wouter/Projects/semcom/packages/semcom-node/node_modules/rxjs/internal/Subscriber.js:67:18)
at TapSubscriber._next (/Users/wouter/Projects/semcom/packages/semcom-node/node_modules/rxjs/internal/operators/tap.js:65:26)

┆Issue is synchronized with this Wrike Task by Unito