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
When running listen with only a simple IPX node server, listen cannot find port 3000 for some reason.
It first starts at port 3000 but then gets an error saying it cannot find an exported entrypoint in index.ts. It then starts again on port 3001, because it says port 3000 is not available.
Additional context
No response
Logs
$ listhen -w ./index.ts
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
📁 Serving static files from ./public listhen 1:47:03 PM
🚀 Loading server entry ./index.ts listhen 1:47:03 PM
[listhen 1:47:04 PM] ERROR Make sure your server entrypoint exports a compatible handler, handle, app or default functionexport.
[get-port] Unable to find an available port (tried 3000-3100 on any host). Using alternative port 3001
➜ Local: http://localhost:3001/
➜ Network: use --host to expose
👀 Watching ./ for changes listhen 1:47:04 PM
The text was updated successfully, but these errors were encountered:
Environment
MacBook Pro M1 Pro 32GB
macOS Sonoma 14.0
IPX: 2.0.0
Node: 18.18.0
Reproduction
https://codesandbox.io/p/sandbox/listhen-repro-pxcqwx
Describe the bug
When running
listen
with only a simple IPX node server, listen cannot find port 3000 for some reason.It first starts at port 3000 but then gets an error saying it cannot find an exported entrypoint in
index.ts
. It then starts again on port 3001, because it says port 3000 is not available.Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: