-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin tries to look for dir in node_modules/.bin/ when relative path is specified #2
Comments
maybe it cause because Line 5 in d8b4ad2
bunx --bun vite is executed by node_modules/.bin/vite any idea how to solve it? send me yours argv console.log(process.argv); |
The output is
|
and send me import.meta.path |
can you tell more about it? double slash in / route is fixed now with 405dad6 |
I opened another issue for this here
import meta inside utils.js /root/dev/elysiakit/node_modules/elysia-autoload/dist/utils.js |
hmm... thats strange but you can use absolute import for now |
I am using Elysia in a sveltekit project, with the
svelte-adapter-bun
adapter.Here's the Repo
https://github.com/Bewinxed/elysiakit
I am initiating it like so:
here's my tsconfig
I run my project like bunx --bun vite
but when the plugin is loaded, the process.argv[1] resolves to
/root/dev/elysiakit/node_modules/.bin/routes
Any idea why this is happening?
The text was updated successfully, but these errors were encountered: