Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error: Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json] #352

Open
TheGorf opened this issue Mar 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@TheGorf
Copy link

TheGorf commented Mar 12, 2024

Which component is affected?

frontend

Did the issue occur at ClassQuiz.de, or on a self-hosted instance?

On a self-hosted instance

How can the issue be reproduced?

From a fresh clone, follow the instructions for self-hosted deployment.
git clone https://github.com/mawoka-myblock/classquiz && cd ClassQuiz
edit the needed entries
set a secret: sed -i "s/TOP_SECRET/$(openssl rand -hex 32)/g" docker-compose.yml
the build: docker compose build && docker compose up -d

During the build, it fails on frontend builder 7/7.

Describe the bug (with screenshots if possible)

Per the deployment instructions, after making just the couple needed config changes, I executed

 => ERROR [frontend builder 7/7] RUN pnpm run build                                                                                                                                                                         393.4s
------
 > [frontend builder 7/7] RUN pnpm run build:
1.783
1.783 > frontend@0.0.1 build /usr/src/app
1.783 > NODE_ENV=production vite build
1.783
2.278 ▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
2.278
2.278     tsconfig.json:38:12:
2.278       38 │   "extends": "./.svelte-kit/tsconfig.json",
2.278          ╵              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2.278
3.725
3.793 vite v4.2.3 building SSR bundle for production...
3.906 transforming...
5.834 10:57:33 PM [vite-plugin-svelte] /src/routes/account/register/+page.svelte:187:7 A11y: A form label must be associated with a control.
5.835 185:               <!--						<div class='flex items-center justify-between mt-4 w-full'>-->
5.835 186:               <input type="checkbox" name="privacy_accept" class="ml-3" />
5.835 187:               <label class="text-sm text-gray-600 dark:text-gray-200">
5.835                    ^
5.835 188:                 I've read the <a href="/docs/privacy-policy" class="underline"
5.835 189:                   >Privacy policy</a
5.836 10:57:33 PM [vite-plugin-svelte] /src/routes/account/register/+page.svelte:201:7 A11y: A form label must be associated with a control.
5.837 199:               <!--						<div class='flex items-center justify-between mt-4 w-full'>-->
5.837 200:               <input type="checkbox" name="tos_accept" class="ml-3" />
5.837 201:               <label class="text-sm text-gray-600 dark:text-gray-200">
5.837                    ^
5.837 202:                 I agree to the <a href="/docs/tos" class="underline"
5.837 203:                   >Terms of Service</a
6.161 10:57:33 PM [vite-plugin-svelte] /src/routes/account/settings/avatar/+page.svelte:80:3 A11y: <img> element should have an alt attribute
6.163 78:   <div class="grid grid-cols-6 overflow-hidden h-full">
6.163 79:     <div class="border-r-4 border-black h-full">
6.163 80:       <img src={image_url} />
6.163           ^
6.163 81:     </div>
6.163 82:     <div class="col-start-2 col-end-7 overflow-scroll">
6.164 10:57:33 PM [vite-plugin-svelte] /src/routes/account/settings/avatar/+page.svelte:115:6 A11y: <img> element should have an alt attribute
6.164 113:             }}
6.164 114:           >
6.164 115:             <img
6.164                  ^
6.164 116:               src={get_image_url({ ...data, [data_keys[index]]: key })}
6.164 117:               in:fade={{ duration: 100 }}
6.165 10:57:33 PM [vite-plugin-svelte] /src/routes/account/settings/avatar/+page.svelte:132:2 A11y: <img> element should have an alt attribute
6.165 130:   >
6.165 131:     <h1 class="m-auto text-4xl" in:fade={{ delay: 3500 }}>{$t('avatar_settings.thats_you')}</h1>
6.165 132:     <img
6.165          ^
6.165 133:       class="m-auto w-1/2 h-1/2 z-20"
6.165 134:       src={get_image_url(data)}
6.310 10:57:33 PM [vite-plugin-svelte] /src/routes/admin/+page.svelte:202:1 A11y: '#' is not a valid href attribute
6.311 200: <a
6.311 201:   on:click|preventDefault={request_answer_export}
6.311 202:   href="#"
6.311        ^
6.311 203:   target="_blank"
6.311 204:   bind:this={dataexport_download_a}
7.546 10:57:35 PM [vite-plugin-svelte] /src/routes/edit/files/+page.svelte:115:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
7.548 113:
7.548 114: {#if edit_popup}
7.548 115:   <div
7.548        ^
7.548 116:     transition:fade|local={{ duration: 100 }}
7.548 117:     class="fixed top-0 left-0 h-screen w-screen z-40 flex bg-black bg-opacity-50"
8.189 10:57:35 PM [vite-plugin-svelte] /src/routes/remote/+page.svelte:308:1 A11y: '#' is not a valid href attribute
8.191 306: <a
8.191 307:   on:click|preventDefault={request_answer_export}
8.191 308:   href="#"
8.191        ^
8.191 309:   bind:this={dataexport_download_a}
8.191 310:   class="absolute -top-3/4 -left-3/4 opacity-0 hidden">Download</a
9.868 Browserslist: caniuse-lite is outdated. Please run:
9.868   npx update-browserslist-db@latest
9.868   Why you should do it regularly: https://github.com/browserslist/update-db#readme
12.30 10:57:39 PM [vite-plugin-svelte] /src/routes/+page.svelte:247:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
12.30 245:         class="lg:border-l lg:border-l-black lg:border-t-0 border-t border-t-black flex lg:flex-col flex-row stretch"
12.30 246:       >
12.30 247:         <div
12.30              ^
12.30 248:           class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
12.30 249:           on:click={() => {
12.30 10:57:39 PM [vite-plugin-svelte] /src/routes/+page.svelte:277:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
12.30 275:           <p class="dark:text-black">{$t('index_page.create_a_quiz_from_scratch')}</p>
12.30 276:         </div>
12.30 277:         <div
12.30              ^
12.30 278:           class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
12.30 279:           on:click={() => {
12.30 10:57:39 PM [vite-plugin-svelte] /src/routes/+page.svelte:384:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
12.30 382:         class="lg:border-l lg:border-l-black lg:border-t-0 border-t border-t-black flex lg:flex-col flex-row stretch"
12.30 383:       >
12.30 384:         <div
12.30              ^
12.30 385:           class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
12.30 386:           on:click={() => {
12.30 10:57:39 PM [vite-plugin-svelte] /src/routes/+page.svelte:414:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
12.30 412:           <p class="dark:text-black">{$t('index_page.choose_answer_wisely')}</p>
12.30 413:         </div>
12.30 414:         <div
12.30              ^
12.30 415:           class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
12.30 416:           on:click={() => {
12.30 10:57:39 PM [vite-plugin-svelte] /src/routes/+page.svelte:444:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
12.30 442:           <p class="dark:text-black">{$t('index_page.check_if_chosen_wisely')}</p>
12.30 443:         </div>
12.30 444:         <div
12.30              ^
12.30 445:           class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
12.30 446:           on:click={() => {
12.31 10:57:39 PM [vite-plugin-svelte] /src/routes/+page.svelte:499:5 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
12.31 497:       >
12.31 498:         {#each classquiz_reasons as reason, index}
12.31 499:           <div
12.31                ^
12.31 500:             class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
12.31 501:             on:click={() => {
12.69 10:57:40 PM [vite-plugin-svelte] /src/routes/account/login/select_method.svelte:28:5 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
12.70 26:       <ul class="flex flex-col gap-4">
12.70 27:         {#if available_methods.includes('PASSKEY')}
12.70 28:           <div
12.70               ^
12.70 29:             class="flex flex-row bg-gray-100 dark:bg-gray-700 rounded-lg p-2 hover:cursor-pointer hover:bg-gray-200 transition"
12.70 30:             on:click={() => {
12.70 10:57:40 PM [vite-plugin-svelte] /src/routes/account/login/select_method.svelte:56:5 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
12.70 54:         {/if}
12.70 55:         {#if available_methods.includes('PASSWORD')}
12.70 56:           <div
12.70               ^
12.70 57:             class="flex flex-row bg-gray-100 dark:bg-gray-700 rounded-lg p-2 hover:cursor-pointer hover:bg-gray-200 transition"
12.70 58:             on:click={() => {
12.70 10:57:40 PM [vite-plugin-svelte] /src/routes/account/login/select_method.svelte:99:5 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
12.70  97:         {/if}
12.70  98:         {#if available_methods.includes('TOTP')}
12.70  99:           <div
12.70                ^
12.70 100:             class="flex flex-row bg-gray-100 rounded-lg p-2 hover:cursor-pointer hover:bg-gray-200 transition"
12.70 101:             on:click={() => {
13.00 10:57:40 PM [vite-plugin-svelte] /src/lib/play/admin/game_not_started.svelte:49:2 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.00 47:       </p>
13.00 48:     </div>
13.00 49:     <img
13.00         ^
13.00 50:       on:click={() => (fullscreen_open = true)}
13.00 51:       alt="QR code to join the game"
13.00 10:57:40 PM [vite-plugin-svelte] /src/lib/play/admin/game_not_started.svelte:97:5 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.00  95:       {#each players as player}
13.00  96:         <div class="p-2 m-2 border-2 border-[#B07156] rounded hover:cursor-pointer">
13.00  97:           <span
13.00                ^
13.00  98:             class="hover:line-through text-lg"
13.00  99:             on:click={() => {
13.00 10:57:40 PM [vite-plugin-svelte] /src/lib/play/admin/game_not_started.svelte:111:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.00 109:
13.00 110: {#if fullscreen_open}
13.00 111:   <div
13.00        ^
13.00 112:     class="fixed top-0 left-0 z-50 w-screen h-screen bg-black bg-opacity-50 fle p-2"
13.00 113:     transition:fade={{ duration: 80 }}
13.10 10:57:40 PM [vite-plugin-svelte] /src/lib/admin.svelte:16:11 Admin has unused export property 'game_mode'. If it is for external reference only, please consider using `export const game_mode`
13.10 14: export let game_token;
13.10 15: export let quiz_data;
13.10 16: export let game_mode;
13.10                ^
13.10 17: export let bg_color;
13.10 18: const { t } = getLocalization();
13.29 10:57:40 PM [vite-plugin-svelte] /src/routes/account/settings/security/backup_codes.svelte:39:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.29 37:     >
13.29 38:       <h2 class="text-3xl m-auto">{$t('security_settings.backup_codes.your_backup_code')}</h2>
13.29 39:       <p
13.29           ^
13.29 40:         class="select-all font-mono text-xl m-auto"
13.29 41:         on:click={() => {
13.32 10:57:40 PM [vite-plugin-svelte] /src/routes/dashboard/Analytics.svelte:29:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.33 27:
13.33 28: {#if quiz}
13.33 29:   <div
13.33       ^
13.33 30:     class="fixed w-full h-full top-0 flex bg-black bg-opacity-50 z-50 overflow-scroll"
13.33 31:     on:click={on_parent_click}
13.40 10:57:41 PM [vite-plugin-svelte] /src/lib/components/DownloadQuiz.svelte:25:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.40 23:
13.40 24: {#if quiz_id}
13.40 25:   <div
13.40       ^
13.40 26:     class="w-screen h-screen fixed top-0 left-0 bg-opacity-50 bg-black z-20 flex justify-center"
13.40 27:     on:click={handle_on_click}
13.48 10:57:41 PM [vite-plugin-svelte] /src/lib/editor/MediaComponent.svelte:60:1 A11y: <img> element should have an alt attribute
13.48 58:
13.48 59: {#await media}
13.48 60:   <img src={thumbhash_data} class={`${css_classes} ${added_thumbhash_classes}`} />
13.48       ^
13.48 61: {:then data}
13.48 62:   {#if type === 'img'}
13.49 10:57:41 PM [vite-plugin-svelte] /src/lib/editor/MediaComponent.svelte:63:2 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.49 61: {:then data}
13.49 62:   {#if type === 'img'}
13.49 63:     <img
13.49         ^
13.49 64:       in:fade={{ duration: 300 }}
13.49 65:       src={img_data.data}
13.49 10:57:41 PM [vite-plugin-svelte] /src/lib/editor/MediaComponent.svelte:89:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.49 87:
13.49 88: {#if fullscreen_open}
13.49 89:   <div
13.49       ^
13.49 90:     class="fixed top-0 left-0 z-50 w-screen h-screen bg-black bg-opacity-50 fle p-2"
13.49 91:     transition:fade={{ duration: 80 }}
13.57 10:57:41 PM [vite-plugin-svelte] /src/lib/dashboard/start_game.svelte:124:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.57 122:
13.57 123:     <div class="grid grid-cols-2 gap-8 my-auto">
13.57 124:       <div
13.57            ^
13.57 125:         class="rounded-lg bg-white shadow-lg cursor-pointer transition-all p-2"
13.57 126:         class:opacity-50={selected_game_mode !== 'kahoot'}
13.57 10:57:41 PM [vite-plugin-svelte] /src/lib/dashboard/start_game.svelte:136:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.58 134:         </p>
13.58 135:       </div>
13.58 136:       <div
13.58            ^
13.58 137:         class="rounded-lg bg-white shadow-lg cursor-pointer transition-all p-2"
13.58 138:         class:opacity-50={selected_game_mode !== 'normal'}
13.58 10:57:41 PM [vite-plugin-svelte] /src/lib/dashboard/start_game.svelte:150:3 A11y: A form label must be associated with a control.
13.58 148:     </div>
13.58 149:     <div class="flex justify-center items-center my-auto">
13.58 150:       <label class="mr-4">{$t('result_page.custom_field')}</label>
13.58            ^
13.58 151:       <input
13.58 152:         bind:value={custom_field}
13.58 10:57:41 PM [vite-plugin-svelte] /src/lib/dashboard/start_game.svelte:84:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
13.58 82: </script>
13.58 83:
13.58 84: <div
13.58     ^
13.58 85:   class="fixed top-0 left-0 flex justify-center w-screen h-screen bg-black bg-opacity-60 z-50 text-black"
13.58 86:   transition:fade={{ duration: 100 }}
14.06 10:57:41 PM [vite-plugin-svelte] /src/lib/quiztivity/editor.svelte:21:11 Editor has unused export property 'saving'. If it is for external reference only, please consider using `export const saving`
14.06 19: const dispatch = createEventDispatcher();
14.06 20: export let data;
14.06 21: export let saving;
14.06                ^
14.06 22: let selected_slide = null;
14.06 23: let opened_slide = null;
14.15 10:57:41 PM [vite-plugin-svelte] /src/lib/quiztivity/shares_popover.svelte:115:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
14.16 113:
14.16 114: <SmallPopover bind:open={popover_open} type={PopoverTypes.Copy} />
14.16 115: <div
14.16      ^
14.16 116:   class="fixed w-full h-full top-0 flex bg-black bg-opacity-50 z-50"
14.16 117:   on:click={on_parent_click}
14.48 10:57:42 PM [vite-plugin-svelte] /src/lib/play/admin/slide.svelte:34:2 A11y: <img> element should have an alt attribute
14.49 32:   </div>
14.49 33:   <div class="w-full h-full flex justify-center">
14.49 34:     <img src={img_src} />
14.49         ^
14.49 35:   </div>
14.49 36: </div>
14.77 10:57:42 PM [vite-plugin-svelte] /src/lib/components/commandpalette.svelte:223:5 A11y: Avoid using autofocus
14.77 221:         <input
14.77 222:           type="text"
14.77 223:           autofocus
14.77                ^
14.77 224:           class="col-start-1 row-start-1 bg-transparent w-full p-4 outline-none bg-gray-700 rounded"
14.77 225:           bind:value={input}
14.77 10:57:42 PM [vite-plugin-svelte] /src/lib/components/commandpalette.svelte:209:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
14.77 207:
14.77 208: {#if open}
14.77 209:   <div
14.77        ^
14.77 210:     class="fixed top-0 left-0 w-screen h-screen flex bg-black bg-opacity-50 z-50"
14.77 211:     on:click={close_on_outside}
15.88 10:57:43 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:75:2 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
15.88 73:   </div>
15.88 74:   <div class="border-r-2 pt-6 px-6 overflow-scroll h-full">
15.88 75:     <div
15.88         ^
15.88 76:       bind:this={propertyCard}
15.88 77:       class="bg-white shadow rounded-lg h-40 p-2 mb-6 hover:cursor-pointer drop-shadow-2xl border border-gray-500 dark:bg-gray-600 transition"
15.88 10:57:43 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:179:6 A11y: Elements with the 'button' interactive role must have a tabindex value.
15.88 177:           >
15.88 178:             <!-- Div is used, since it just put me on the dashboard when using button elements... Idk why and I hate it-->
15.88 179:             <div
15.88                  ^
15.88 180:               class="h-full"
15.88 181:               role="button"
15.88 10:57:43 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:179:6 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
15.88 177:           >
15.88 178:             <!-- Div is used, since it just put me on the dashboard when using button elements... Idk why and I hate it-->
15.88 179:             <div
15.88                  ^
15.88 180:               class="h-full"
15.88 181:               role="button"
15.88 10:57:43 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:208:6 A11y: Elements with the 'button' interactive role must have a tabindex value.
15.88 206:               </svg>
15.88 207:             </div>
15.88 208:             <div
15.88                  ^
15.88 209:               class="h-full"
15.88 210:               role="button"
15.88 10:57:43 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:208:6 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
15.88 206:               </svg>
15.88 207:             </div>
15.88 208:             <div
15.88                  ^
15.88 209:               class="h-full"
15.88 210:               role="button"
15.88 10:57:43 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:164:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
15.88 162:     </div>
15.88 163:     {#each data.questions as question, index}
15.88 164:       <div
15.88            ^
15.88 165:         class="bg-white shadow rounded-lg h-40 p-2 mb-6 hover:cursor-pointer drop-shadow-2xl border border-gray-500 dark:bg-gray-600 transition relative"
15.88 166:         class:bg-green-300={index === selected_question}
16.14 10:57:43 PM [vite-plugin-svelte] /src/lib/editor/uploader.svelte:122:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
16.15 120:
16.15 121: {#if modalOpen}
16.15 122:   <div
16.15        ^
16.15 123:     class="w-screen h-screen fixed top-0 left-0 bg-opacity-50 bg-black z-20 flex justify-center"
16.15 124:     on:click={handle_on_click}
16.15 10:57:43 PM [vite-plugin-svelte] /src/lib/editor/uploader.svelte:28:11 Uploader has unused export property 'edit_id'. If it is for external reference only, please consider using `export const edit_id`
16.15 26: const { t } = getLocalization();
16.15 27: export let modalOpen = false;
16.15 28: export let edit_id;
16.15                ^
16.15 29: export let data;
16.15 30: export let selected_question;
16.80 10:57:44 PM [vite-plugin-svelte] /src/lib/editor/AddNewQuestionPopup.svelte:85:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
16.80 83: </script>
16.80 84:
16.80 85: <div
16.80     ^
16.80 86:   class="fixed top-0 left-0 w-screen h-screen flex bg-black z-50 bg-opacity-50"
16.80 87:   on:click={on_parent_click}
17.20 10:57:44 PM [vite-plugin-svelte] /src/routes/results/[result_id]/general_overview.svelte:9:11 General_overview has unused export property 'questions'. If it is for external reference only, please consider using `export const questions`
17.20  7: <script lang="ts">import { getLocalization } from '$lib/i18n';
17.20  8: const { t } = getLocalization();
17.20  9: export let questions;
17.20                ^
17.20 10: export let answers;
17.20 11: export let scores;
17.20 10:57:44 PM [vite-plugin-svelte] /src/routes/results/[result_id]/general_overview.svelte:10:11 General_overview has unused export property 'answers'. If it is for external reference only, please consider using `export const answers`
17.20  8: const { t } = getLocalization();
17.20  9: export let questions;
17.20 10: export let answers;
17.20                ^
17.20 11: export let scores;
17.20 12: export let title;
17.20 10:57:44 PM [vite-plugin-svelte] /src/routes/results/[result_id]/general_overview.svelte:37:7 Unused CSS selector "underline"
17.21 35: </div>
17.21 36:
17.21 37: <style>underline{text-decoration:underline}</style>
17.21            ^
17.21 38:
19.41 10:57:47 PM [vite-plugin-svelte] /src/lib/editor/slides/element_selection.svelte:73:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
19.41 71:   <ul>
19.41 72:     {#each element_list as el}
19.41 73:       <li
19.41           ^
19.41 74:         class="flex flex-row mt-4 w-full bg-gray-200 shadow-xl rounded-lg p-2 hover:bg-gray-300 hover:shadow-2xl hover:cursor-pointer transition dark:bg-gray-800"
19.41 75:         on:click={() => {
25.48 ✓ 377 modules transformed.
25.48 10:57:53 PM [vite-plugin-svelte] ssr compile done.
25.48 package 	files	 time	   avg
25.48 frontend	  160	3.40s	21.2ms
26.15 rendering chunks...
27.56
27.65 vite v4.2.3 building for production...
27.70 transforming...
30.16 10:57:57 PM [vite-plugin-svelte] /src/routes/account/register/+page.svelte:187:7 A11y: A form label must be associated with a control.
30.16 185:               <!--						<div class='flex items-center justify-between mt-4 w-full'>-->
30.16 186:               <input type="checkbox" name="privacy_accept" class="ml-3" />
30.16 187:               <label class="text-sm text-gray-600 dark:text-gray-200">
30.16                    ^
30.16 188:                 I've read the <a href="/docs/privacy-policy" class="underline"
30.16 189:                   >Privacy policy</a
30.16 10:57:57 PM [vite-plugin-svelte] /src/routes/account/register/+page.svelte:201:7 A11y: A form label must be associated with a control.
30.16 199:               <!--						<div class='flex items-center justify-between mt-4 w-full'>-->
30.16 200:               <input type="checkbox" name="tos_accept" class="ml-3" />
30.16 201:               <label class="text-sm text-gray-600 dark:text-gray-200">
30.16                    ^
30.16 202:                 I agree to the <a href="/docs/tos" class="underline"
30.16 203:                   >Terms of Service</a
30.88 10:57:58 PM [vite-plugin-svelte] /src/routes/account/settings/avatar/+page.svelte:80:3 A11y: <img> element should have an alt attribute
30.88 78:   <div class="grid grid-cols-6 overflow-hidden h-full">
30.88 79:     <div class="border-r-4 border-black h-full">
30.88 80:       <img src={image_url} />
30.88           ^
30.88 81:     </div>
30.88 82:     <div class="col-start-2 col-end-7 overflow-scroll">
30.88 10:57:58 PM [vite-plugin-svelte] /src/routes/account/settings/avatar/+page.svelte:115:6 A11y: <img> element should have an alt attribute
30.88 113:             }}
30.88 114:           >
30.88 115:             <img
30.88                  ^
30.88 116:               src={get_image_url({ ...data, [data_keys[index]]: key })}
30.88 117:               in:fade={{ duration: 100 }}
30.89 10:57:58 PM [vite-plugin-svelte] /src/routes/account/settings/avatar/+page.svelte:132:2 A11y: <img> element should have an alt attribute
30.89 130:   >
30.89 131:     <h1 class="m-auto text-4xl" in:fade={{ delay: 3500 }}>{$t('avatar_settings.thats_you')}</h1>
30.89 132:     <img
30.89          ^
30.89 133:       class="m-auto w-1/2 h-1/2 z-20"
30.89 134:       src={get_image_url(data)}
31.47 10:57:59 PM [vite-plugin-svelte] /src/routes/admin/+page.svelte:202:1 A11y: '#' is not a valid href attribute
31.47 200: <a
31.47 201:   on:click|preventDefault={request_answer_export}
31.47 202:   href="#"
31.47        ^
31.47 203:   target="_blank"
31.47 204:   bind:this={dataexport_download_a}
33.66 10:58:01 PM [vite-plugin-svelte] /src/routes/edit/files/+page.svelte:115:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
33.66 113:
33.66 114: {#if edit_popup}
33.66 115:   <div
33.66        ^
33.66 116:     transition:fade|local={{ duration: 100 }}
33.66 117:     class="fixed top-0 left-0 h-screen w-screen z-40 flex bg-black bg-opacity-50"
35.04 10:58:02 PM [vite-plugin-svelte] /src/routes/remote/+page.svelte:308:1 A11y: '#' is not a valid href attribute
35.05 306: <a
35.05 307:   on:click|preventDefault={request_answer_export}
35.05 308:   href="#"
35.05        ^
35.05 309:   bind:this={dataexport_download_a}
35.05 310:   class="absolute -top-3/4 -left-3/4 opacity-0 hidden">Download</a
36.95 10:58:04 PM [vite-plugin-svelte] /src/routes/+page.svelte:247:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
36.95 245:         class="lg:border-l lg:border-l-black lg:border-t-0 border-t border-t-black flex lg:flex-col flex-row stretch"
36.95 246:       >
36.95 247:         <div
36.95              ^
36.95 248:           class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
36.95 249:           on:click={() => {
36.95 10:58:04 PM [vite-plugin-svelte] /src/routes/+page.svelte:277:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
36.95 275:           <p class="dark:text-black">{$t('index_page.create_a_quiz_from_scratch')}</p>
36.95 276:         </div>
36.95 277:         <div
36.95              ^
36.95 278:           class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
36.95 279:           on:click={() => {
36.95 10:58:04 PM [vite-plugin-svelte] /src/routes/+page.svelte:384:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
36.95 382:         class="lg:border-l lg:border-l-black lg:border-t-0 border-t border-t-black flex lg:flex-col flex-row stretch"
36.95 383:       >
36.95 384:         <div
36.95              ^
36.95 385:           class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
36.95 386:           on:click={() => {
36.95 10:58:04 PM [vite-plugin-svelte] /src/routes/+page.svelte:414:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
36.95 412:           <p class="dark:text-black">{$t('index_page.choose_answer_wisely')}</p>
36.95 413:         </div>
36.95 414:         <div
36.95              ^
36.95 415:           class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
36.95 416:           on:click={() => {
36.95 10:58:04 PM [vite-plugin-svelte] /src/routes/+page.svelte:444:4 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
36.95 442:           <p class="dark:text-black">{$t('index_page.check_if_chosen_wisely')}</p>
36.95 443:         </div>
36.95 444:         <div
36.95              ^
36.95 445:           class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
36.95 446:           on:click={() => {
36.95 10:58:04 PM [vite-plugin-svelte] /src/routes/+page.svelte:499:5 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
36.95 497:       >
36.95 498:         {#each classquiz_reasons as reason, index}
36.95 499:           <div
36.95                ^
36.95 500:             class="m-2 rounded-lg p-2 bg-opacity-40 bg-white transition-all cursor-pointer lg:h-full"
36.95 501:             on:click={() => {
37.73 10:58:05 PM [vite-plugin-svelte] /src/routes/account/login/select_method.svelte:28:5 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
37.73 26:       <ul class="flex flex-col gap-4">
37.73 27:         {#if available_methods.includes('PASSKEY')}
37.73 28:           <div
37.73               ^
37.73 29:             class="flex flex-row bg-gray-100 dark:bg-gray-700 rounded-lg p-2 hover:cursor-pointer hover:bg-gray-200 transition"
37.73 30:             on:click={() => {
37.74 10:58:05 PM [vite-plugin-svelte] /src/routes/account/login/select_method.svelte:56:5 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
37.74 54:         {/if}
37.74 55:         {#if available_methods.includes('PASSWORD')}
37.74 56:           <div
37.74               ^
37.74 57:             class="flex flex-row bg-gray-100 dark:bg-gray-700 rounded-lg p-2 hover:cursor-pointer hover:bg-gray-200 transition"
37.74 58:             on:click={() => {
37.74 10:58:05 PM [vite-plugin-svelte] /src/routes/account/login/select_method.svelte:99:5 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
37.74  97:         {/if}
37.74  98:         {#if available_methods.includes('TOTP')}
37.74  99:           <div
37.74                ^
37.74 100:             class="flex flex-row bg-gray-100 rounded-lg p-2 hover:cursor-pointer hover:bg-gray-200 transition"
37.74 101:             on:click={() => {
38.15 10:58:05 PM [vite-plugin-svelte] /src/routes/account/settings/security/backup_codes.svelte:39:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
38.15 37:     >
38.15 38:       <h2 class="text-3xl m-auto">{$t('security_settings.backup_codes.your_backup_code')}</h2>
38.15 39:       <p
38.15           ^
38.15 40:         class="select-all font-mono text-xl m-auto"
38.15 41:         on:click={() => {
38.32 10:58:05 PM [vite-plugin-svelte] /src/lib/admin.svelte:16:11 Admin has unused export property 'game_mode'. If it is for external reference only, please consider using `export const game_mode`
38.32 14: export let game_token;
38.32 15: export let quiz_data;
38.32 16: export let game_mode;
38.32                ^
38.32 17: export let bg_color;
38.32 18: const { t } = getLocalization();
38.49 10:58:06 PM [vite-plugin-svelte] /src/lib/play/admin/game_not_started.svelte:49:2 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
38.49 47:       </p>
38.49 48:     </div>
38.49 49:     <img
38.49         ^
38.49 50:       on:click={() => (fullscreen_open = true)}
38.49 51:       alt="QR code to join the game"
38.49 10:58:06 PM [vite-plugin-svelte] /src/lib/play/admin/game_not_started.svelte:97:5 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
38.49  95:       {#each players as player}
38.49  96:         <div class="p-2 m-2 border-2 border-[#B07156] rounded hover:cursor-pointer">
38.49  97:           <span
38.49                ^
38.49  98:             class="hover:line-through text-lg"
38.49  99:             on:click={() => {
38.49 10:58:06 PM [vite-plugin-svelte] /src/lib/play/admin/game_not_started.svelte:111:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
38.49 109:
38.49 110: {#if fullscreen_open}
38.49 111:   <div
38.49        ^
38.49 112:     class="fixed top-0 left-0 z-50 w-screen h-screen bg-black bg-opacity-50 fle p-2"
38.49 113:     transition:fade={{ duration: 80 }}
38.84 10:58:06 PM [vite-plugin-svelte] /src/routes/dashboard/Analytics.svelte:29:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
38.84 27:
38.84 28: {#if quiz}
38.84 29:   <div
38.84       ^
38.84 30:     class="fixed w-full h-full top-0 flex bg-black bg-opacity-50 z-50 overflow-scroll"
38.84 31:     on:click={on_parent_click}
38.88 10:58:06 PM [vite-plugin-svelte] /src/lib/components/DownloadQuiz.svelte:25:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
38.88 23:
38.88 24: {#if quiz_id}
38.88 25:   <div
38.88       ^
38.88 26:     class="w-screen h-screen fixed top-0 left-0 bg-opacity-50 bg-black z-20 flex justify-center"
38.88 27:     on:click={handle_on_click}
39.04 10:58:06 PM [vite-plugin-svelte] /src/lib/dashboard/start_game.svelte:124:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
39.04 122:
39.04 123:     <div class="grid grid-cols-2 gap-8 my-auto">
39.04 124:       <div
39.04            ^
39.04 125:         class="rounded-lg bg-white shadow-lg cursor-pointer transition-all p-2"
39.04 126:         class:opacity-50={selected_game_mode !== 'kahoot'}
39.04 10:58:06 PM [vite-plugin-svelte] /src/lib/dashboard/start_game.svelte:136:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
39.04 134:         </p>
39.04 135:       </div>
39.04 136:       <div
39.04            ^
39.04 137:         class="rounded-lg bg-white shadow-lg cursor-pointer transition-all p-2"
39.04 138:         class:opacity-50={selected_game_mode !== 'normal'}
39.04 10:58:06 PM [vite-plugin-svelte] /src/lib/dashboard/start_game.svelte:150:3 A11y: A form label must be associated with a control.
39.04 148:     </div>
39.04 149:     <div class="flex justify-center items-center my-auto">
39.04 150:       <label class="mr-4">{$t('result_page.custom_field')}</label>
39.04            ^
39.04 151:       <input
39.04 152:         bind:value={custom_field}
39.04 10:58:06 PM [vite-plugin-svelte] /src/lib/dashboard/start_game.svelte:84:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
39.04 82: </script>
39.04 83:
39.04 84: <div
39.04     ^
39.04 85:   class="fixed top-0 left-0 flex justify-center w-screen h-screen bg-black bg-opacity-60 z-50 text-black"
39.04 86:   transition:fade={{ duration: 100 }}
39.16 10:58:06 PM [vite-plugin-svelte] /src/lib/editor/MediaComponent.svelte:60:1 A11y: <img> element should have an alt attribute
39.16 58:
39.16 59: {#await media}
39.16 60:   <img src={thumbhash_data} class={`${css_classes} ${added_thumbhash_classes}`} />
39.16       ^
39.16 61: {:then data}
39.16 62:   {#if type === 'img'}
39.16 10:58:06 PM [vite-plugin-svelte] /src/lib/editor/MediaComponent.svelte:63:2 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
39.16 61: {:then data}
39.16 62:   {#if type === 'img'}
39.16 63:     <img
39.16         ^
39.16 64:       in:fade={{ duration: 300 }}
39.16 65:       src={img_data.data}
39.16 10:58:06 PM [vite-plugin-svelte] /src/lib/editor/MediaComponent.svelte:89:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
39.16 87:
39.16 88: {#if fullscreen_open}
39.16 89:   <div
39.16       ^
39.16 90:     class="fixed top-0 left-0 z-50 w-screen h-screen bg-black bg-opacity-50 fle p-2"
39.16 91:     transition:fade={{ duration: 80 }}
40.56 10:58:08 PM [vite-plugin-svelte] /src/lib/quiztivity/editor.svelte:21:11 Editor has unused export property 'saving'. If it is for external reference only, please consider using `export const saving`
40.56 19: const dispatch = createEventDispatcher();
40.56 20: export let data;
40.56 21: export let saving;
40.56                ^
40.56 22: let selected_slide = null;
40.56 23: let opened_slide = null;
40.73 10:58:08 PM [vite-plugin-svelte] /src/lib/quiztivity/shares_popover.svelte:115:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
40.73 113:
40.73 114: <SmallPopover bind:open={popover_open} type={PopoverTypes.Copy} />
40.73 115: <div
40.73      ^
40.73 116:   class="fixed w-full h-full top-0 flex bg-black bg-opacity-50 z-50"
40.73 117:   on:click={on_parent_click}
40.98 10:58:08 PM [vite-plugin-svelte] /src/lib/play/admin/slide.svelte:34:2 A11y: <img> element should have an alt attribute
40.98 32:   </div>
40.98 33:   <div class="w-full h-full flex justify-center">
40.98 34:     <img src={img_src} />
40.98         ^
40.98 35:   </div>
40.98 36: </div>
42.93 10:58:10 PM [vite-plugin-svelte] /src/lib/components/commandpalette.svelte:223:5 A11y: Avoid using autofocus
42.93 221:         <input
42.93 222:           type="text"
42.93 223:           autofocus
42.93                ^
42.93 224:           class="col-start-1 row-start-1 bg-transparent w-full p-4 outline-none bg-gray-700 rounded"
42.93 225:           bind:value={input}
42.93 10:58:10 PM [vite-plugin-svelte] /src/lib/components/commandpalette.svelte:209:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
42.93 207:
42.93 208: {#if open}
42.93 209:   <div
42.93        ^
42.93 210:     class="fixed top-0 left-0 w-screen h-screen flex bg-black bg-opacity-50 z-50"
42.93 211:     on:click={close_on_outside}
44.00 10:58:11 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:75:2 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
44.00 73:   </div>
44.00 74:   <div class="border-r-2 pt-6 px-6 overflow-scroll h-full">
44.00 75:     <div
44.00         ^
44.00 76:       bind:this={propertyCard}
44.00 77:       class="bg-white shadow rounded-lg h-40 p-2 mb-6 hover:cursor-pointer drop-shadow-2xl border border-gray-500 dark:bg-gray-600 transition"
44.00 10:58:11 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:179:6 A11y: Elements with the 'button' interactive role must have a tabindex value.
44.00 177:           >
44.00 178:             <!-- Div is used, since it just put me on the dashboard when using button elements... Idk why and I hate it-->
44.00 179:             <div
44.00                  ^
44.00 180:               class="h-full"
44.00 181:               role="button"
44.00 10:58:11 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:179:6 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
44.00 177:           >
44.00 178:             <!-- Div is used, since it just put me on the dashboard when using button elements... Idk why and I hate it-->
44.00 179:             <div
44.00                  ^
44.00 180:               class="h-full"
44.00 181:               role="button"
44.00 10:58:11 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:208:6 A11y: Elements with the 'button' interactive role must have a tabindex value.
44.00 206:               </svg>
44.00 207:             </div>
44.00 208:             <div
44.00                  ^
44.00 209:               class="h-full"
44.00 210:               role="button"
44.00 10:58:11 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:208:6 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
44.00 206:               </svg>
44.00 207:             </div>
44.00 208:             <div
44.00                  ^
44.00 209:               class="h-full"
44.00 210:               role="button"
44.01 10:58:11 PM [vite-plugin-svelte] /src/lib/editor/sidebar.svelte:164:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
44.01 162:     </div>
44.01 163:     {#each data.questions as question, index}
44.01 164:       <div
44.01            ^
44.01 165:         class="bg-white shadow rounded-lg h-40 p-2 mb-6 hover:cursor-pointer drop-shadow-2xl border border-gray-500 dark:bg-gray-600 transition relative"
44.01 166:         class:bg-green-300={index === selected_question}
44.79 10:58:12 PM [vite-plugin-svelte] /src/lib/editor/uploader.svelte:122:1 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
44.80 120:
44.80 121: {#if modalOpen}
44.80 122:   <div
44.80        ^
44.80 123:     class="w-screen h-screen fixed top-0 left-0 bg-opacity-50 bg-black z-20 flex justify-center"
44.80 124:     on:click={handle_on_click}
44.80 10:58:12 PM [vite-plugin-svelte] /src/lib/editor/uploader.svelte:28:11 Uploader has unused export property 'edit_id'. If it is for external reference only, please consider using `export const edit_id`
44.80 26: const { t } = getLocalization();
44.80 27: export let modalOpen = false;
44.80 28: export let edit_id;
44.80                ^
44.80 29: export let data;
44.80 30: export let selected_question;
45.83 10:58:13 PM [vite-plugin-svelte] /src/routes/results/[result_id]/general_overview.svelte:9:11 General_overview has unused export property 'questions'. If it is for external reference only, please consider using `export const questions`
45.83  7: <script lang="ts">import { getLocalization } from '$lib/i18n';
45.83  8: const { t } = getLocalization();
45.83  9: export let questions;
45.83                ^
45.83 10: export let answers;
45.83 11: export let scores;
45.83 10:58:13 PM [vite-plugin-svelte] /src/routes/results/[result_id]/general_overview.svelte:10:11 General_overview has unused export property 'answers'. If it is for external reference only, please consider using `export const answers`
45.83  8: const { t } = getLocalization();
45.83  9: export let questions;
45.83 10: export let answers;
45.83                ^
45.83 11: export let scores;
45.83 12: export let title;
45.83 10:58:13 PM [vite-plugin-svelte] /src/routes/results/[result_id]/general_overview.svelte:37:7 Unused CSS selector "underline"
45.83 35: </div>
45.83 36:
45.83 37: <style>underline{text-decoration:underline}</style>
45.83            ^
45.83 38:
48.71 10:58:16 PM [vite-plugin-svelte] /src/lib/editor/AddNewQuestionPopup.svelte:85:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
48.71 83: </script>
48.71 84:
48.71 85: <div
48.71     ^
48.71 86:   class="fixed top-0 left-0 w-screen h-screen flex bg-black z-50 bg-opacity-50"
48.71 87:   on:click={on_parent_click}
52.81 10:58:20 PM [vite-plugin-svelte] /src/lib/editor/slides/element_selection.svelte:73:3 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
52.82 71:   <ul>
52.82 72:     {#each element_list as el}
52.82 73:       <li
52.82           ^
52.82 74:         class="flex flex-row mt-4 w-full bg-gray-200 shadow-xl rounded-lg p-2 hover:bg-gray-300 hover:shadow-2xl hover:cursor-pointer transition dark:bg-gray-800"
52.82 75:         on:click={() => {
72.93 ✓ 945 modules transformed.
72.94 10:58:40 PM [vite-plugin-svelte] dom compile done.
72.94 package 	files	  time	   avg
72.94 frontend	  160	10.44s	65.3ms
73.79 Generated an empty chunk: "56".
92.52
92.52 <--- Last few GCs --->
92.52
92.52 [17:0x55e4ae0]    88600 ms: Scavenge (reduce) 967.7 (994.9) -> 967.7 (995.1) MB, 14.0 / 0.0 ms  (average mu = 0.166, current mu = 0.002) allocation failure;
92.52 [17:0x55e4ae0]    88682 ms: Scavenge (reduce) 967.8 (995.1) -> 967.7 (995.4) MB, 82.1 / 0.0 ms  (average mu = 0.166, current mu = 0.002) allocation failure;
92.52 [17:0x55e4ae0]    90676 ms: Mark-Compact (reduce) 968.6 (995.4) -> 968.5 (996.4) MB, 1988.9 / 0.0 ms  (average mu = 0.158, current mu = 0.149) allocation failure; scavenge might not succeed
92.52
92.52
92.52 <--- JS stacktrace --->
92.52
92.52 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
92.57  1: 0xbf9890 node::Abort() [node]
92.58  2: 0xaf6859  [node]
92.58  3: 0xddaf80 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
92.58  4: 0xddb336 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
92.58  5: 0xfd9db5  [node]
92.58  6: 0xfed4e5 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
92.59  7: 0xfc924f v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
92.59  8: 0xfca297 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
92.59  9: 0xfa99fa v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
92.60 10: 0x13bd76f v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
92.60 11: 0x18443f9  [node]
393.0 Aborted (core dumped)
393.0  ELIFECYCLE  Command failed with exit code 134.
------
failed to solve: process "/bin/sh -c pnpm run build" did not complete successfully: exit code: 1

Device

Desktop

Operating System

Linux

Browser

n/a

@TheGorf TheGorf added the bug Something isn't working label Mar 12, 2024
@mawoka-myblock
Copy link
Owner

As it says at the bottom, you don't have enough memory to build the frontend. How much do you have? And how much is free?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants