Skip to content

Unable to retrieve Solid profile #110

Description

@megoth

I've started the progress of updating https://rdfjs.dev/ldo to reflect the newest work on LDO.

I'm having problems referring to simple properties on a Solid profile, and keep getting the following error:

Unexpected Application Error!
can't access property Symbol.iterator, typeNames is undefined

getRelevantContext@http://localhost:5173/node_modules/.vite/deps/@ldo_solid-react.js?v=f3233576:15406:36
isArray@http://localhost:5173/node_modules/.vite/deps/@ldo_solid-react.js?v=f3233576:15452:38
newGetFunction@http://localhost:5173/node_modules/.vite/deps/@ldo_solid-react.js?v=f3233576:26513:40
LDOSolidReactDemo@http://localhost:5173/src/components/ldo/solid-react-demo/index.tsx:36:23
renderWithHooks@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:12179:35
updateFunctionComponent@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:14585:28
beginWork@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:15920:22
beginWork$1@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:19757:22
performUnitOfWork@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:19202:20
workLoopSync@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:19141:30
renderRootSync@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:19120:15
recoverFromConcurrentError@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:18740:42
performConcurrentWorkOnRoot@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:18688:30
workLoop@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:201:50
flushWork@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:180:22
performWorkUntilDeadline@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:388:29
EventHandlerNonNull*node_modules/scheduler/cjs/scheduler.development.js/<@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:409:11
node_modules/scheduler/cjs/scheduler.development.js@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:457:9
__require2@http://localhost:5173/node_modules/.vite/deps/chunk-XP2METGE.js?v=f3233576:19:50
node_modules/scheduler/index.js@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:471:24
__require2@http://localhost:5173/node_modules/.vite/deps/chunk-XP2METGE.js?v=f3233576:19:50
node_modules/react-dom/cjs/react-dom.development.js/<@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:489:25
node_modules/react-dom/cjs/react-dom.development.js@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:21564:9
__require2@http://localhost:5173/node_modules/.vite/deps/chunk-XP2METGE.js?v=f3233576:19:50
node_modules/react-dom/index.js@http://localhost:5173/node_modules/.vite/deps/chunk-DJBI4LSU.js?v=f3233576:21578:24
__require2@http://localhost:5173/node_modules/.vite/deps/chunk-XP2METGE.js?v=f3233576:19:50
node_modules/react-dom/client.js@http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=f3233576:16:13
__require2@http://localhost:5173/node_modules/.vite/deps/chunk-XP2METGE.js?v=f3233576:19:50
@http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=f3233576:42:16

The branch I'm working on is available at https://github.com/megoth/rdfjs/tree/library/ldo-update. You should see the error after authenticating yourself on the LDO-page. The code that creates the error is in src/components/ldo/solid-react-demo/index.tsx.

Is there something obvious that I'm missing? Since it involves a function named isArray, I suspect it to be tied into the changed handling of arrays vs sets, but I've tried to avoid this complexity altogether using only simple values, but maybe I've done something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions