arkmech
arkmech
Yeah getting same issue.
Yeah this doesn't work at all with new project: 1. Root `tsconfig.json`, which extends `"./.svelte-kit/tsconfig.json"` 2. `.svelte-kit` tsconfig.json includes `ambient.d.ts` 3. `ambient.d.ts` declares module `'$env/static/private'` that includes my env variables...
This works: ``` tailwindRadix({ variantPrefix: 'rdx' }), ``` but....I get: this TS issue: `This expression is not callable. Type '{ handler: (helpers: Helpers) => void; }' has no call signatures.`
Relevant?: https://github.com/sveltejs/kit/pull/12120 Not sure how to use override feature.
Ok, had time to do more digging: The issue is coming from `semver` which `@sveltejs/package` uses.
`pnpm-workspace.yaml` ```yaml catalog: svelte: ^5.0.0-next.257 "@sveltejs/kit": ^2.6.1 catalogs: sveltetooling: "@sveltejs/adapter-auto": ^3.2.2 "@sveltejs/adapter-node": ^5.2.4 "@sveltejs/package": ^2.0.0 "@sveltejs/vite-plugin-svelte": ^3.1.1 vite-plugin-kit-routes: 0.6.11 publint: 0.2.9 svelte-check: ^3.8.4 tslib: ^2.6.3 vite: ^5.4.7 ``` Its specifically...
I ended up solving the issue: not sure why but it was essentially using "svelte": "catalog:" in `peerDependencies` doesn't work. It is only `svelte` in `peerDependencies` that causes the issue....
It came when I setup Storybook, since I use `pnpm` and `turborepo`. In, `main.ts` ```ts /** * This function is used to resolve the absolute path of a package. *...
> Could you try removing the `getAbsolutePath` call from the svelte addon, and just have the plain string? If I do remove it, then yeah storybook starts up. But thats...