-
-
Notifications
You must be signed in to change notification settings - Fork 772
Open
Labels
Description
Environment
Nitro 3.0.1-alpha.1
Bun 1.3.5
Reproduction
vite.config.ts
import { defineConfig } from "vite";
import { nitro } from "nitro/vite";
export default defineConfig({
plugins: [nitro()],
nitro: {
preset: "bun",
features: { websocket: true }
}
});package.json
{
"type": "module",
"scripts": {
"dev": "bun --bun vite dev"
},
"devDependencies": {
"nitro": "3.0.1-alpha.1",
"vite": "npm:rolldown-vite"
}
}Describe the bug
36 | const nodeAdapter = (options = {}) => {
37 | throw new Error(
^
error: [crossws] Using Node.js adapter in an incompatible environment.
at nodeAdapterAdditional context
No response