Skip to content
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

Elysia docs should warn users about path aliases issues until it's fixed. #426

Open
Pedromigacz opened this issue Oct 21, 2024 · 2 comments

Comments

@Pedromigacz
Copy link

What is the type of issue?

Documentation is missing, Documentation is confusing

What is the issue?

I've seen to multiple people on discord who were lost on why Eden was not working. I figured out that it breaks in case you are using path aliases instead of relative imports.
So, I created this issue to document it and maybe I will figure out a way to fix this behavior.
But for the mean time, to avoid users frustration, I believe we should warn them right on the docs.

Where did you find it?

https://elysiajs.com/eden/installation.html

@Pedromigacz
Copy link
Author

I created this PR to warn users until the main issue is fixed.

@rubfergor
Copy link

@Pedromigacz Do you know if this affect subpaths imports? Something like this in package.json:

  "imports": {
    "#*": {
      "default": "./src/*.ts"
    }
  }

I'm using them and Eden refuses to work, and I think it might be the same problem as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants