#dumb errors that shouldnt be errors

8 messages · Page 1 of 1 (latest)

jovial robin
#

im getting a bunch of "errors" but theres no actual problem anywhere - for example, 5:29:35 PM [vite] Internal server error: [postcss] /home/alec/Programming/rental_property_manager/website/src/modules/LandingReadme.astro?astro&type=style&index=0&lang.css:4:1: Unknown word Plugin: vite:css File: /home/alec/Programming/rental_property_manager/website/src/modules/LandingReadme.astro?astro&type=style&index=0&lang.css:4:1 2 | --- 3 | 4 | <div | ^ 5 | class="text-slate-800 dark:text-slate-100 mb-20 p-4 lg:p-16 shadow-xl shadow-slate-200 dark:shadow-slate-900" 6 | >for this file```


<div
class="text-slate-800 dark:text-slate-100 mb-20 p-4 lg:p-16 shadow-xl shadow-slate-200 dark:shadow-slate-900"

<header
    class="p-8 flex justify-center items-center flex-wrap flex-col w-full mt-16"
>
    <div class="format dark:format-invert lg:format-lg mt-32">
        <p
            class="text-4xl lg:text-8xl dark:text-slate-200 text-slate-600 leading-tight"
        >
            TDM Properties
        </p>
    </div>
</header>

<article class="flex justify-center pt-32 pb-32">
    <div class="w-full readme format dark:format-invert lg:format-lg">
    </div>
</article>

</div>

<style>
/* Override in Markdown H1 title */
.readme :global(h1:nth-of-type(2)) {
display: none;
}

.svg-inline :global(svg) {
    height: 100%;
    width: 100%;
}

</style>

#

this works completely fine when i run it with npm run build && npm run preview

#

when i use npm run dev nothing works

#

and i get all these errors

livid cradle
#

is that the complete file?

jovial robin
#

Yeah

#

oops the discord formatting cut off the top line

#

fixed it though