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 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.
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?
bun run elxsia:dev
http://localhost:3001/
What is the expected behavior?
running server without any unexpected errors
What do you see instead?
Additional information
package.json
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
The text was updated successfully, but these errors were encountered: