Skip to content

[bug] xxxxx/src/app: no such file or directory #1743

Open
@741311791

Description

@741311791

Describe the bug

When running in the development environment, I didn't set the VITE_SUPABASE_API_URL and VITE_SUPABASE_ANON_KEY environment variables. When I tried to use the chatbox, it returned null. The terminal displayed the following error:

"Error checking directory /Users/liancheng/Documents/Onlook/Projects/project-1743566930979/src/app: [Error: ENOENT: no such file or directory, stat '/Users/liancheng/Documents/Onlook/Projects/project-1743566930979/src/app']"

However, my actual directory path is /Users/liancheng/Documents/Onlook/Projects/project-1743566930979/app (without "src" in the path). It appears that the system is looking for a default directory path that includes 'src' before 'app'.
I created this project using the official desktop app at /Users/liancheng/Documents/Onlook/Projects/project-1743566930979/app. This error doesn't occur when creating a new project from scratch, however, after exchanging about two messages in the chat, the same error occurs again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions