Description
Mostly bun commands with Imba is working fine, all commands to client applications is ok :
bunx imba create
bun dev
bun run build
bun run preview
`
But only one command is not working in full stack applications(with express.js)
bun run preview
This one throw the following errors;
TypeError: The listener must be a function
at checkListener (node:events:424:7)
at removeListener (node:events:178:16)
at new Server (.../imba-server/dist/server.js:2:9588)
at wrap (../imba-server/dist/server.js:2:8605)
at ee (../imba-server/dist/server.js:7:539)
at /../imba-server/dist/server.js:20:131
`
I am using WSL2, Ubuntu.
Reproduction
No response
System Environment
No response
Description
Mostly bun commands with Imba is working fine, all commands to client applications is ok :
bunx imba create
bun dev
bun run build
bun run preview
`
But only one command is not working in full stack applications(with express.js)
bun run preview
This one throw the following errors;
TypeError: The listener must be a function
at checkListener (node:events:424:7)
at removeListener (node:events:178:16)
at new Server (.../imba-server/dist/server.js:2:9588)
at wrap (../imba-server/dist/server.js:2:8605)
at ee (../imba-server/dist/server.js:7:539)
at /../imba-server/dist/server.js:20:131
`
I am using WSL2, Ubuntu.
Reproduction
No response
System Environment
No response