Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

error: IOT instruction (core dumped) #25

Open
warcayac opened this issue Feb 23, 2024 · 0 comments
Open

error: IOT instruction (core dumped) #25

warcayac opened this issue Feb 23, 2024 · 0 comments

Comments

@warcayac
Copy link

warcayac commented Feb 23, 2024

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?

  1. start server: bun run elxsia:dev
  2. make a GET request for: http://localhost:3001/
  3. 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

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

No branches or pull requests

1 participant