Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
741311791 opened this issue Apr 7, 2025 · 1 comment
Open

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

741311791 opened this issue Apr 7, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@741311791
Copy link

741311791 commented Apr 7, 2025

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.

@741311791 741311791 added the bug Something isn't working label Apr 7, 2025
@741311791
Copy link
Author

I noticed that this error occurs when the system attempts to automatically load local Onlook project files. The error disappears after I manually reimport the project files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant