Description
Required check list:
- [x ] I didn't find in the repository's issues section a similar bug.
- [ x] I understand, this is an Open Source and not-for-profit product.
- [ x] This is not about a third-party project, framework, or technology.
My environment:
$ gowebly doctor
✓ Your system information has been collected successfully!
│
│ Copy this information to paste into an issue ↘
│
│ Gowebly CLI: v3.0.1 (build with go1.24.2 on linux/arm64)
│
│ Go: 1.24.2 linux/arm64
│ Node.js version: 22.14.0 (npm 10.9.2)
│ Bun version: 1.2.10
│
│ Is Air tool installed? true
│ Is Templ package installed? true
│
✱ For more information go to the official docs: https://gowebly.org
have generated new project using:
- bun
- templ
- fiber
- tailwindcss
- air
...
Describe the bug:
during create phase (after the boilerplate was generated) the error was seen for the first time.
"gowebly run" always fails as soon as a "templ" file was changed.
Even in case I simply run "templ generate" the following "run" is failing.
I assume that it is related to "bun and parcel". Although it might be related to a different project I am starting to ask here since I am using the project setup created by "gowebly" as is.
$ gowebly run
/ /\ | | | |)
//--\ || || _ v1.61.7, built with Go go1.24.2
mkdir /workspaces/testapp/tmp
watching .
watching assets
!exclude node_modules
!exclude static
watching templates
watching templates/pages
!exclude tmp
bun run build
$ parcel build ./assets/scripts.js ./assets/styles.css --dist-dir ./static
✨ Built in 822ms
static/scripts.js 126.33 kB 75ms
static/styles.css 25.57 kB 61ms
static/id4.84cd5b71.jpg 338.01 kB 39ms
error: script "build" was terminated by signal SIGSEGV (Address boundary error)
Segmentation fault
failed to execute pre_cmd: exit status 139
^Ccleaning...
deleting /workspaces/testapp/tmp
see you again~
...
Steps to reproduce the behavior:
- templ generate # (no changes in any templ file is necessary)
- $ bun run build
Expected behavior:
all implicitly used steps should work after setting up clean project from scratch.
...
Screenshots:
...
Additional context:
this is the list of components generated into "package.json"
"dependencies": {
"tailwindcss": "latest",
"alpinejs": "latest",
"htmx.org": "latest"
},
"devDependencies": {
"@tailwindcss/forms": "latest",
"@tailwindcss/typography": "latest",
"@tailwindcss/postcss": "latest",
"@parcel/transformer-css": "latest",
"parcel": "latest",
"postcss": "latest",
"prettier": "latest"
}
...