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
λ 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
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
The text was updated successfully, but these errors were encountered: