When using the above instead of what's currently in navigation-docs.tsx, we run into the following error:
10:46:02 PM [vite] Internal server error: Code(27): Missing Object ID for captured object
at createAndLogError (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:110:52)
at logErrorAndStop (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:61:15)
at qError (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:287:10)
at mustGetObjId (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:5540:15)
at mapJoin (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:5690:16)
at Module._pauseFromContexts (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:5643:23)
at beforeClose (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/@builder.io/qwik/dist/server.mjs:520:30)
at /Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:1274:20
at /Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:1728:24
at async renderRoot$1 (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:1273:3)
/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/@builder.io/qwik/dist/core.mjs:116
throw err;
^
Error: Code(27): Missing Object ID for captured object
at createAndLogError (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:110:52)
at logErrorAndStop (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:61:15)
at qError (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:287:10)
at mustGetObjId (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:5540:15)
at mapJoin (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:5690:16)
at Module._pauseFromContexts (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:5643:23)
at beforeClose (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/@builder.io/qwik/dist/server.mjs:520:30)
at /Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:1274:20
at /Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:1728:24
at async renderRoot$1 (/Users/jackshelton/dev/open-source/qwik-ui/node_modules/.pnpm/@builder.io+qwik@1.7.3_@types+node@20.12.12_sass@1.77.4_terser@5.31.1/node_modules/dist-dev/tsc-out/packages/qwik/src/core/util/implicit_dollar.js:1273:3)
Node.js v20.12.2
This seems to happen specifically on the qwik ui site, when the boolean is inside the first map, useLocation is used, and is inside the Accordion Content.
Reproduction
above
Steps to reproduce
I was unable to reproduce in an empty app, but directly in the Qwik UI site:
1) copy the above code
2) paste it into navigation-docs.tsx
3) run pnpm dev
4) navigate to the browser
Which package is affected?
Headless Kit
Describe the bug
When using the above instead of what's currently in
navigation-docs.tsx
, we run into the following error:This seems to happen specifically on the qwik ui site, when the boolean is inside the first map, useLocation is used, and is inside the Accordion Content.
Reproduction
above
Steps to reproduce
I was unable to reproduce in an empty app, but directly in the Qwik UI site:
1) copy the above code 2) paste it into
navigation-docs.tsx
3) runpnpm dev
4) navigate to the browserSystem Info
Additional Information
No response