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

Static plugin is available for production? #435

Open
niconsm16 opened this issue Nov 3, 2024 · 0 comments
Open

Static plugin is available for production? #435

niconsm16 opened this issue Nov 3, 2024 · 0 comments

Comments

@niconsm16
Copy link

What is the type of issue?

Documentation is missing

What is the issue?

I have this problem when build my app:

λ bun build src/index.ts
4 | import { resolve, resolve as resolveFn, join, sep } from "path";
^
error: No matching export in "node:path" for import "resolve"
at D:\xxx\node_modules@elysiajs\static\dist\index.mjs:4:10

4 | import { resolve, resolve as resolveFn, join, sep } from "path";
^
error: No matching export in "node:path" for import "resolve"
at D:\xxx\node_modules@elysiajs\static\dist\index.mjs:4:19

4 | import { resolve, resolve as resolveFn, join, sep } from "path";
^
error: No matching export in "node:path" for import "join"
at D:\xxx\node_modules@elysiajs\static\dist\index.mjs:4:41

4 | import { resolve, resolve as resolveFn, join, sep } from "path";
^
error: No matching export in "node:path" for import "sep"
at D:\xxx\node_modules@elysiajs\static\dist\index.mjs:4:47

Something is wrong? i read this documentation:
https://elysiajs.com/plugins/static.html
But i can't find anything about it

Where did you find it?

No response

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

1 participant