-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
What version of Bun is running?
1.0.28
What platform is your computer?
Linux 6.7.5-zen1-1-zen x86_64 unknown
What steps can reproduce the bug?
- start server:
bun run elxsia:dev
- make a GET request for:
http://localhost:3001/
- wait for some seconds
What is the expected behavior?
running server without any unexpected errors
What do you see instead?
$ bun run elxsia:dev
$ NODE_ENV=development bun --env-file=.env run --watch src/index.tsx
π¦ Elysia is running at localhost:3001
2024-02-23T12:19:24.980Z | GET / - 200 (7.24 ms)
2024-02-23T12:19:25.013Z | GET /public/htmx.js - 200 (1.13 ms)
2024-02-23T12:19:25.015Z | GET /public/style.css - 200 (9.26 ms)
error: script "elxsia:dev" was terminated by signal SIGABRT (Abort)
[1] 22218 IOT instruction (core dumped) bun run elxsia:dev
Additional information
package.json
{
"name": "the_beth_stack",
"version": "1.0.50",
"module": "src/index.js",
"dependencies": {
"@elysiajs/cors": "^0.8.0",
"@elysiajs/html": "^0.8.0",
"@elysiajs/static": "^0.8.1",
"ansis": "^2.3.0",
"elysia": "latest",
"htmx.org": "^1.9.10"
},
"scripts": {
"test": "NODE_ENV=test bun test ./test/**.test.tsx",
"dev": "bun run tailwind:dev | bun run elxsia:dev",
"elxsia:dev": "NODE_ENV=development bun --env-file=.env run --watch src/index.tsx",
"build": "bun run tailwind:build",
"start": "NODE_ENV=production bun --env-file=.env run src/index.tsx",
"tailwind:build": "bunx tailwindcss -i ./src/style.css -o ./public/style.css --minify",
"tailwind:dev": "bunx tailwindcss -i ./src/style.css -o ./public/style.css --watch"
},
"devDependencies": {
"@types/bun": "^1.0.7",
"tailwindcss": "^3.4.1"
}
}
It seems that there is incompatibility with some of the installed packages, before installing @elysiajs/static the app works fine, but after installing it, at the first GET request and after a few seconds that error appears.
Here a demo project with same problem: https://github.com/warcayac/elysia-htmx-tailwind_demo1
dl-eric
Metadata
Metadata
Assignees
Labels
No labels