-
Notifications
You must be signed in to change notification settings - Fork 123
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
安装完运行总是出现这个,请问是什么原因呢? #43
Comments
这个是后端服务,打开网页需打包前端项目 |
(suangua) D:\github\chatgpt-tarot-divination-main>cd frontend (suangua) D:\github\chatgpt-tarot-divination-main\frontend>pnpm install (suangua) D:\github\chatgpt-tarot-divination-main\frontend>pnpm build --emptyOutDir
vite v4.4.9 building for prod... (!) Some chunks are larger than 500 kBs after minification. Consider:
(suangua) D:\github\chatgpt-tarot-divination-main\frontend>cd .. (suangua) D:\github\chatgpt-tarot-divination-main>D:\github\chatgpt-tarot-divination-main\venv\Scripts\python.exe main.py 请问我这已经按照前端步骤进行了,但问题还是没有解决,是我哪里做错了吗?网页还是显示detail: "Not Found" |
需要打包一下前端服务
|
root@iZt4naudvth5fc699pje2kZ:~/chatgpt-tarot-divination# ./venv/bin/python3 main.py
2023-10-25 21:28:01,267: INFO: router.chatgpt_router: Loaded divination types: ['tarot', 'birthday', 'name', 'dream', 'new_name', 'plum_flower', 'fate']
INFO: Started server process [58389]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO: 59.42.87.37:14972 - "GET / HTTP/1.1" 404 Not Found
The text was updated successfully, but these errors were encountered: