You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note the \.. in several relative paths, these are parsed as attempts to escape the . character, and not actually fullfilling their purpose of path separator. This causes import errors in the main SvelteKit app. Maybe there is a way to make TypeScript accept them (I rarely do anything in web-dev, sorry!), but I don't know of it atm.
Describe the bug
In a Windows 10 environment, when using TypeScript, SvelteKit, and Houdini, the generated
$houdini.d.ts
looks as follows for me:Note the
\..
in several relative paths, these are parsed as attempts to escape the.
character, and not actually fullfilling their purpose of path separator. This causes import errors in the main SvelteKit app. Maybe there is a way to make TypeScript accept them (I rarely do anything in web-dev, sorry!), but I don't know of it atm.It seems to be originating here:
houdini/src/cmd/generators/kit/index.ts
Line 48 in 9f486e9
And from a brief look at stack overflow changing it to
path.posix.relative(..)
should suffice.Severity
annoyance
Steps to Reproduce the Bug
Reproduction
No response
The text was updated successfully, but these errors were encountered: