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
Upon building my app, this error is thrown both locally, and by Vercel's build process:
Error: Could not load /vercel/path0/src/lib/internal/paths (imported by node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/runtime/server/respond.js): ENOENT: no such file or directory, open '/vercel/path0/src/lib/internal/paths'
The import is performed here:
Which traces back to this type declaration:
I have an alias in my SvelteKit package's project to $internal which I think conflicts with the changes made by @benmccann in #8838 ?
I can rename my alias to solve the problem, but I think this could pop up again for any other library author using that naming scheme in their aliases. It might be worth reverting to the actual paths rather than the aliased ones, or using something more unlikely to have conflicts like e.g. $$internal_.
Reproduction
Provide an alias named $internal to config.kit.alias within a SvelteKit project. Run vite build.
Describe the bug
Upon building my app, this error is thrown both locally, and by Vercel's build process:
Error: Could not load /vercel/path0/src/lib/internal/paths (imported by node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/runtime/server/respond.js): ENOENT: no such file or directory, open '/vercel/path0/src/lib/internal/paths'
The import is performed here:

Which traces back to this type declaration:

I have an alias in my SvelteKit package's project to
$internal
which I think conflicts with the changes made by @benmccann in #8838 ?I can rename my alias to solve the problem, but I think this could pop up again for any other library author using that naming scheme in their aliases. It might be worth reverting to the actual paths rather than the aliased ones, or using something more unlikely to have conflicts like e.g.
$$internal_
.Reproduction
Provide an alias named
$internal
toconfig.kit.alias
within a SvelteKit project. Runvite build
.Logs
No response
System Info
Severity
serious, but I can work around it
Additional Information
Solved by changing the
$internal
alias used within my own project.The text was updated successfully, but these errors were encountered: