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
[ 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 CLI: v2.5.0 (build with go1.22.2 on darwin/arm64)
│
│ Go: 1.22.2 darwin/arm64
│ Node.js version: not installed (npm not installed)
│ Bun version: 1.1.7
│
│ Is Air tool installed? true
│ Is Templ package installed? true
...
Describe the bug:
Getting Oops message while trying to create the project...
✕ Oops... Something went wrong!
│
│ failed to run action 'install project dependencies' in goroutine: can't execute command 'bun' with option '[run build]': exit status 1
In the next retry got different message
✕ Oops... Something went wrong!
│
│ failed to run action 'generate backend files' in goroutine: file '.dockerignore' is exists, can't be overwritten (clean up first)
Steps to reproduce the behavior:
Use Air tool : Yes
Use Bun as framework : Yes
Use Templ package : Yes
use Golang CI lint : Yes
Select the go framework or router : Echo
select the reactivity library : htmx
Select the CSS library : Tailwind CSS with Preline UI components
What's your go module name : testgw
project name in package json : gowebtest
port for backend server : 7000
Expected behavior:
A working project with selected dependencies
...
Screenshots:
...
Additional context:
...
The text was updated successfully, but these errors were encountered:
This is because Parcel bundler gets error when running bun install, like this:
TypeError: m.load is not a function. (In 'm.load(filePath)', 'm.load' is undefined) at load (/Users/user/project/node_modules/@parcel/package-manager/lib/index.js:3624:13)10 | }11 | }12 |13 | let binding;14 | try {15 | binding = require(name); ^TypeError: symbol 'napi\_register\_module\_v1' not found in native module. Is this a Node API (napi) module? at dlopen (native:1:1) at /Users/user/project/node_modules/@parcel/watcher/index.js:15:2 at anonymous (native:1:1) at /Users/user/project/node_modules/@parcel/fs/lib/index.js:21:5 at anonymous (native:1:1) at /Users/user/project/node_modules/@parcel/package-manager/lib/index.js:35:5 at anonymous (native:1:1) at /Users/user/project/node_modules/@parcel/core/lib/worker.js:102:1 at anonymous (native:1:1) at /Users/user/project/node_modules/@parcel/workers/lib/child.js:111:1910 | }11 | }12 |13 | let binding;14 | try {15 | binding = require(name); ^
I'll figure it out, but I'd appreciate some help in fixing the Parcel failure.
For now i uninstalled the bun and installed the nodejs and it started to work. Will switch to bun once the Parcel fixes the issues. Thanks for your quick help.
Required check list:
My environment:
Gowebly CLI: v2.5.0 (build with go1.22.2 on darwin/arm64)
│
│ Go: 1.22.2 darwin/arm64
│ Node.js version: not installed (npm not installed)
│ Bun version: 1.1.7
│
│ Is Air tool installed? true
│ Is Templ package installed? true
...
Describe the bug:
Getting Oops message while trying to create the project...
✕ Oops... Something went wrong!
│
│ failed to run action 'install project dependencies' in goroutine: can't execute command 'bun' with option '[run build]': exit status 1
In the next retry got different message
✕ Oops... Something went wrong!
│
│ failed to run action 'generate backend files' in goroutine: file '.dockerignore' is exists, can't be overwritten (clean up first)
Steps to reproduce the behavior:
Expected behavior:
A working project with selected dependencies
...
Screenshots:
...
Additional context:
...
The text was updated successfully, but these errors were encountered: