Skip to content
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

Package web error #545

Open
lizibin565758 opened this issue Feb 27, 2024 · 2 comments
Open

Package web error #545

lizibin565758 opened this issue Feb 27, 2024 · 2 comments

Comments

@lizibin565758
Copy link

When I use yarn build or npm run build to package my project into a web page, it reports an error: [vite:load-fallback] Could not load /Users/lizibin/%E5%B8%B8%E7%94%A8%E6%96%87%E4%BB%B6/code/%E5%89%8D%E7%AB%AFCode/BetterChatGPT-main/src/store/store (imported by src/App.tsx): ENOENT: no such file or directory, open '/Users/lizibin/%E5%B8%B8%E7%94%A8%E6%96%87%E4%BB%B6/code/%E5%89%8D%E7%AB%AFCode/BetterChatGPT-main/src/store/store'
error during build:
Error: Could not load /Users/lizibin/%E5%B8%B8%E7%94%A8%E6%96%87%E4%BB%B6/code/%E5%89%8D%E7%AB%AFCode/BetterChatGPT-main/src/store/store (imported by src/App.tsx): ENOENT: no such file or directory, open '/Users/lizibin/%E5%B8%B8%E7%94%A8%E6%96%87%E4%BB%B6/code/%E5%89%8D%E7%AB%AFCode/BetterChatGPT-main/src/store/store'
What might be the reason?

@lizibin565758 lizibin565758 changed the title i package Package web error Feb 27, 2024
@lizibin565758
Copy link
Author

I confirm that I have not modified any paths to App.tsx and vite.config.ts

@uoyniXnaH
Copy link

uoyniXnaH commented Mar 3, 2024

Try avoiding using CJK characters in your directories?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants