when accessing http://localhost:8071/api/node
1 vercel dev --listen 80802Vercel CLI 41.2.23> Ready! Available at http://localhost:80804Server is running on http://localhost:30005file:///C:/Users/o0/.bun/install/global/node_modules/@vercel/node/dist/dev-server.mjs:11336 return listener(req, res);7 ^8TypeError: listener is not a function9 at Server.<anonymous> (file:///C:/Users/o0/.bun/install/global/node_modules/@vercel/node/dist/dev-server.mjs:1133:12)10 at processTicksAndRejections (node:internal/process/task_queues:95:5)11This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:12Error: Command failed: taskkill /pid 1808 /T /F13ERROR: The process "1808" not found.1415 at ChildProcess.exithandler (node:child_process:422:12)16 at ChildProcess.emit (node:events:517:28)17 at ChildProcess.emit (node:domain:489:12)18 at maybeClose (node:internal/child_process:1098:16)19 at ChildProcess._handle.onexit (node:internal/child_process:303:5)20Error: An unexpected error occurred!21Error: Command failed: taskkill /pid 1808 /T /F22ERROR: The process "1808" not found.2324 at ChildProcess.exithandler (node:child_process:422:12)25 at ChildProcess.emit (node:events:517:28)26 at ChildProcess.emit (node:domain:489:12)27 at maybeClose (node:internal/child_process:1098:16)28 at ChildProcess._handle.onexit (node:internal/child_process:303:5)
and when accessing http://localhost:8071/api/python
1 vercel dev --listen 80712Vercel CLI 41.2.23> Ready! Available at http://localhost:80714> Building @vercel/python@latest:api/main_flow.py5Installing required dependencies...6> Built @vercel/python@latest:api/main_flow.py [3s]7AssignProcessToJobObject: (87) The parameter is incorrect.8LambdaError: RequestId: a3e98b22-7754-4aa4-aa3b-c7966447871f Process exited before completing request9 at Lambda.<anonymous> (C:\Users\o0\.bun\install\global10ode_modules\@vercel\fun\dist\src\index.js:114:27)11 at Generator.next (<anonymous>)12 at fulfilled (C:\Users\o0\.bun\install\global13ode_modules\@vercel\fun\dist\src\index.js:28:58)14 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)15using HTTP Handler16Traceback (most recent call last):17 File "C:\Python311\Lib\urllib\request.py", line 1348, in do_open18 h.request(req.get_method(), req.selector, req.data, headers,19 File "C:\Python311\Lib\http\client.py", line 1282, in request20 self._send_request(method, url, body, headers, encode_chunked)21 File "C:\Python311\Lib\http\client.py", line 1328, in _send_request22 self.endheaders(body, encode_chunked=encode_chunked)23 File "C:\Python311\Lib\http\client.py", line 1277, in endheaders24 self._send_output(message_body, encode_chunked=encode_chunked)25 File "C:\Python311\Lib\http\client.py", line 1037, in _send_output26 self.send(msg)27 File "C:\Python311\Lib\http\client.py", line 975, in send28 self.connect()29 File "C:\Python311\Lib\http\client.py", line 941, in connect30 self.sock = self._create_connection(31 ^^^^^^^^^^^^^^^^^^^^^^^^32 File "C:\Python311\Lib\socket.py", line 850, in create_connection33 raise exceptions[0]34 File "C:\Python311\Lib\socket.py", line 835, in create_connection35 sock.connect(sa)36ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it3738During handling of the above exception, another exception occurred:3940Traceback (most recent call last):41 File "C:\Users\o0\AppData\Local\com.vercel.fun\Cache\runtimes\python\bootstrap.py", line 147, in <module>42 lambda_runtime_main()43 File "C:\Users\o0\AppData\Local\com.vercel.fun\Cache\runtimes\python\bootstrap.py", line 130, in lambda_runtime_main44 (event, context) = lambda_runtime_next_invocation()45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^46 File "C:\Users\o0\AppData\Local\com.vercel.fun\Cache\runtimes\python\bootstrap.py", line 56, in lambda_runtime_next_invocation47 res = LambdaRequest('invocation/next')48 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^49 File "C:\Users\o0\AppData\Local\com.vercel.fun\Cache\runtimes\python\bootstrap.py", line 31, in __init__50 req = urllib.request.urlopen(url, data)51 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^52 File "C:\Python311\Lib\urllib\request.py", line 216, in urlopen53 return opener.open(url, data, timeout)54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^55 File "C:\Python311\Lib\urllib\request.py", line 519, in open56 response = self._open(req, data)57 ^^^^^^^^^^^^^^^^^^^^^58 File "C:\Python311\Lib\urllib\request.py", line 536, in _open59 result = self._call_chain(self.handle_open, protocol, protocol +60 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^61 File "C:\Python311\Lib\urllib\request.py", line 496, in _call_chain62 result = func(*args)63 ^^^^^^^^^^^64 File "C:\Python311\Lib\urllib\request.py", line 1377, in http_open65 return self.do_open(http.client.HTTPConnection, req)66 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^67 File "C:\Python311\Lib\urllib\request.py", line 1351, in do_open68 raise URLError(err)69urllib.error.URLError: <urlopen error [WinError 10061] No connection could be made because the target machine actively refused it>
I changed up the ports because I thought it might have to do with ports being in use. Long errors, I just wanted to share but maybe I'm just tired since its late here, I'll take a look at these tomorrow and update.
Note: I installed the Vercel CLI using Bun, I don't know if that might be the issue.