schmell
schmell
Explore posts from servers
TTCTheo's Typesafe Cult
Created by schmell on 11/8/2024 in #questions
How to get uploaded date from listFiles()
I'm not sure why, but listFiles() does not return the uploaded date? Is there a way to do it?
12 replies
RRailway
Created by schmell on 8/26/2023 in #✋|help
error on index file
I have an index file in a folder that exports all the components in that folder for easier importing on my pages index.ts (i tried it as .js as well)
export { default as Form } from './form.svelte';
export { default as Textarea } from './Textarea.svelte';
export { default as Button } from './button.svelte';
export { default as Select } from './select.svelte';
export { default as Input } from './input.svelte';
export { default as File } from './file.svelte';
export { default as Check } from './check.svelte';
export { default as Hidden } from './hidden.svelte';
export { default as Form } from './form.svelte';
export { default as Textarea } from './Textarea.svelte';
export { default as Button } from './button.svelte';
export { default as Select } from './select.svelte';
export { default as Input } from './input.svelte';
export { default as File } from './file.svelte';
export { default as Check } from './check.svelte';
export { default as Hidden } from './hidden.svelte';
This throws this error on build from github
6.242 Could not resolve "./button.svelte" from "src/lib/components/form/index.js"
6.242 file: /app/src/lib/components/form/index.js
6.242 Could not resolve "./button.svelte" from "src/lib/components/form/index.js"
6.242 file: /app/src/lib/components/form/index.js
Oddly enough this does not error on railway up I am using Sveltekit, Prisma, Lucia-auth, if that makes any difference Thanks in advance for any help you can provide.
31 replies
RRailway
Created by schmell on 8/20/2023 in #✋|help
Prisma timeout
I am trying to use a fairly large query with Prisma and get Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection-pool (Current connection pool timeout: 10, connection limit: 5) Is there a way to increase the timeout and maybe the pool size?
16 replies