Skip to content

npm run dev but server didn't start #6

Description

@tsunhua

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:

 npm run dev

> 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 /Users/xxx/project/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:62230) 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)

(base) 

To Reproduce
According the guide

Expected behavior
The server started

Screenshots
none

Desktop (please complete the following information):

  • OS: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions