Open tsunhua opened 1 year ago
it looks good had you try visit http://0.0.0.0:3000
When I visit http://0.0.0.0:3000/, it displays HTTP ERROR 502. I tried executing the following command to check if there were any processes listening on port 3000, but nothing was returned.
$ lsof -i:3000
here is my log, it seems same to yours
> chat-flow@0.1.0 dev
> npm run prepare:data && cross-env NODE_ENV='development' next dev
> chat-flow@0.1.0 prepare:data
> node gen/generate-chatgpt-by-category.js
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Loaded env from /Volumes/source/ai/chat-flow/.env
warn - You have enabled experimental feature (appDir) in next.config.js.
warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
info - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback
(node:8079) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
event - compiled client and server successfully in 11.2s (262 modules)
wait - compiling...
event - compiled client and server successfully in 1065 ms (262 modules)
Describe the bug I attempted to run the project using "npm run dev", but the server did not start. Although the terminal printed some logs, no error messages were displayed. Here are the logs:
To Reproduce According the guide
Expected behavior The server started
Screenshots none
Desktop (please complete the following information):