-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed as duplicate of#17567
Labels
Description
What version of Bun is running?
1.3.4+5eb2145b3
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What steps can reproduce the bug?
- Open Visual Studio Code
- Open its integrated terminal
- Run
bun repl - Wait for the REPL to load
- Garbled output
What is the expected behavior?
The REPL to load normally and be usable
What do you see instead?
Welcome to Bun v1.3.4
Type ".help" for more information.
[!] Please note that the REPL implementation is still experimental!
Don't consider it to be representative of the stability or behavior of Bun overall.
> [ws/message] An unexpected error occured: Received message for unknown request ID: undefined
Received Data: {"method":"Console.messageAdded","params":{"message":{"source":"console-api","level":"log","text":"Welcome to Bun v1.3.4\nType \".help\" for more information.","type":"log","line":580,"column":18,"url":"C:\\Users\\ASUS\\AppData\\Local\\Temp\\bunx-1771422724-bun-repl@latest\\node_modules\\bun-repl\\src\\repl.ts","repeatCount":1,"timestamp":1765098630.285894,"parameters":[{"type":"string","value":"Welcome to Bun v1.3.4\nType \".help\" for more information."}],"stackTrace":{"callFrames":[{"functionName":"start","url":"C:\\Users\\ASUS\\AppData\\Local\\Temp\\bunx-1771422724-bun-repl@latest\\node_modules\\bun-repl\\src\\repl.ts","scriptId":"2","lineNumber":580,"columnNumber":18},{"functionName":"processTicksAndRejections","url":"","scriptId":"3","lineNumber":7,"columnNumber":39}]}}}}
[ws/message] An unexpected error occured: Received message for unknown request ID: undefined
Received Data: {"method":"Console.messageAdded","params":{"message":{"source":"console-api","level":"warning","text":"\u001b[33m\u001b[2m[!] Please note that the REPL implementation is still experimental!\n Don't consider it to be representative of the stability or behavior of Bun overall.\u001b[0m","type":"log","line":582,"column":19,"url":"C:\\Users\\ASUS\\AppData\\Local\\Temp\\bunx-1771422724-bun-repl@latest\\node_modules\\bun-repl\\src\\repl.ts","repeatCount":1,"timestamp":1765098630.2862303,"parameters":[{"type":"string","value":"\u001b[33m\u001b[2m[!] Please note that the REPL implementation is still experimental!\n Don't consider it to be representative of the stability or behavior of Bun overall.\u001b[0m"}],"stackTrace":{"callFrames":[{"functionName":"start","url":"C:\\Users\\ASUS\\AppData\\Local\\Temp\\bunx-1771422724-bun-repl@latest\\node_modules\\bun-repl\\src\\repl.ts","scriptId":"2","lineNumber":582,"columnNumber":19},{"functionName":"processTicksAndRejections","url":"","scriptId":"3","lineNumber":7,"columnNumber":39}]}}}}
[ws/message] An unexpected error occured: Received message for unknown request ID: undefined
Received Data: {"method":"Console.messageAdded","params":{"message":{"source":"console-api","level":"error","text":"[ws/message] An unexpected error occured:","type":"log","line":135,"column":22,"url":"C:\\Users\\ASUS\\AppData\\Local\\Temp\\bunx-1771422724-bun-repl@latest\\node_modules\\bun-repl\\src\\repl.ts","repeatCount":1,"timestamp":1765098630.293049,"parameters":[{"type":"string","value":"[ws/message] An unexpected error occured:"},{"type":"string","value":"Received message for unknown request ID: undefined"},{"type":"string","value":"\nReceived Data:"},{"type":"string","value":"{\"method\":\"Console.messageAdded\",\"params\":{\"message\":{\"source\":\"console-api\",\"level\":\"log\",\"text\":\"Welcome to Bun v1.3.4\\nType \\\".help\\\" for more information.\",\"type\":\"log\",\"line\":580,\"column\":18,\"url\":\"C:\\\\Users\\\\ASUS\\\\AppData\\\\Local\\\\Temp\\\\bunx-1771422724-bun-repl@latest\\\\node_modules\\\\bun-repl\\\\src\\\\repl.ts\",\"repeatCount\":1,\"timestamp\":1765098630.285894,\"parameters\":[{\"type\":\"string\",\"value\":\"Welcome to Bun v1.3.4\\nType \\\".help\\\" for more information.\"}],\"stackTrace\":{\"callFrames\":[{\"functionName\":\"start\",\"url\":\"C:\\\\Users\\\\ASUS\\\\AppData\\\\Local\\\\Temp\\\\bunx-1771422724-bun-repl@latest\\\\node_modules\\\\bun-repl\\\\src\\\\repl.ts\",\"scriptId\":\"2\",\"lineNumber\":580,\"columnNumber\":18},{\"functionName\":\"processTicksAndRejections\",\"url\":\"\",\"scriptId\":\"3\",\"lineNumber\":7,\"columnNumber\":39}]}}}}"}],"stackTrace":{"callFrames":[{"functionName":"","url":"C:\\Users\\ASUS\\AppData\\Local\\Temp\\bunx-1771422724-bun-repl@latest\\node_modules\\bun-repl\\src\\repl.ts","scriptId":"2","lineNumber":135,"columnNumber":22}]}}}}
[ws/message] An unexpected error occured: Received message for unknown request ID: undefined
Received Data: {"method":"Console.messageAdded","params":{"message":{"source":"console-api","level":"error","text":"[ws/message] An unexpected error occured:","type":"log","line":135,"column":22,"url":"C:\\Users\\ASUS\\AppData\\Local\\Temp\\bunx-1771422724-bun-repl@latest\\node_modules\\bun-repl\\src\\repl.ts","repeatCount":1,"timestamp":1765098630.2935696,"parameters":[{"type":"string","value":"[ws/message] An unexpected error occured:"},{"type":"string","value":"Received message for unknown request ID: undefined"},{"type":"string","value":"\nReceived Data:"},{"type":"string","value":"{\"method\":\"Console.messageAdded\",\"params\":{\"message\":{\"source\":\"console-api\",\"level\":\"warning\",\"text\":\"\\u001b[33m\\u001b[2m[!] Please note that the REPL implementation is still experimental!\\n Don't consider it to be representative of the stability or behavior of Bun overall.\\u001b[0m\",\"type\":\"log\",\"line\":582,\"column\":19,\"url\":\"C:\\\\Users\\\\ASUS\\\\AppData\\\\Local\\\\Temp\\\\bunx-1771422724-bun-repl@latest\\\\node_modules\\\\bun-repl\\\\src\\\\repl.ts\",\"repeatCount\":1,\"timestamp\":1765098630.2862303,\"parameters\":[{\"type\":\"string\",\"value\":\"\\u001b[33m\\u001b[2m[!] Please note that the REPL implementation is still experimental!\\n Don't consider it to be representative of the stability or behavior of Bun overall.\\u001b[0m\"}],\"stackTrace\":{\"callFrames\":[{\"functionName\":\"start\",\"url\":\"C:\\\\Users\\\\ASUS\\\\AppData\\\\Local\\\\Temp\\\\bunx-1771422724-bun-repl@latest\\\\node_modules\\\\bun-repl\\\\src\\\\repl.ts\",\"scriptId\":\"2\",\"lineNumber\":582,\"columnNumber\":19},{\"functionName\":\"processTicksAndRejections\",\"url\":\"\",\"scriptId\":\"3\",\"lineNumber\":7,\"columnNumber\":39}]}}}}"}],"stackTrace":{"callFrames":[{"functionName":"","url":"C:\\Users\\ASUS\\AppData\\Local\\Temp\\bunx-1771422724-bun-repl@latest\\node_modules\\bun-repl\\src\\repl.ts","scriptId":"2","lineNumber":135,"columnNumber":22}]}}}}
...If I hadn't manually Ctrl+C'd the program, garbled output with lots of backslashes will overwhelm the buffer,
Additional information
No response
coderabbitai