Skip to content

Cusor:0.48.6 (Universal) Failed to get workspaces: Error: ENOENT: no such file or directory, scandir '' #27

@yovenny

Description

@yovenny

POST /api/validate-path 200 in 11ms
POST /api/validate-path 200 in 2ms
✓ Compiled /src/middleware in 92ms (72 modules)
○ Compiling /chat ...
✓ Compiled /chat in 589ms (745 modules)
✓ Compiled /api/workspaces in 72ms (418 modules)
Failed to get workspaces: Error: ENOENT: no such file or directory, scandir ''
at async Object.readdir (node:internal/fs/promises:945:18)
at async GET (webpack-internal:///(rsc)/./src/app/api/workspaces/route.ts:25:25)
at async /Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:55831
at async eO.execute (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:46527)
at async eO.handle (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:57165)
at async doRender (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/base-server.js:1352:42)
at async cacheEntry.responseCache.get.routeKind (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/base-server.js:1574:28)
at async DevServer.renderToResponseWithComponentsImpl (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/base-server.js:1482:28)
at async DevServer.renderPageComponent (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/base-server.js:1908:24)
at async DevServer.renderToResponseImpl (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/base-server.js:1946:32)
at async DevServer.pipeImpl (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/base-server.js:921:25)
at async NextNodeServer.handleCatchallRenderRequest (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/next-server.js:272:17)
at async DevServer.handleRequestImpl (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/base-server.js:817:17)
at async /Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/dev/next-dev-server.js:339:20
at async Span.traceAsyncFn (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/trace/trace.js:154:20)
at async DevServer.handleRequest (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/dev/next-dev-server.js:336:24)
at async invokeRender (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/lib/router-server.js:173:21)
at async handleRequest (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/lib/router-server.js:350:24)
at async requestHandlerImpl (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/lib/router-server.js:374:13)
at async Server.requestListener (/Users/bochengchen/Documents/docker/cursor-chat-browser/node_modules/next/dist/server/lib/start-server.js:141:13) {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: ''
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions