ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
72.56k stars 57.62k forks source link

[Bug] 在新拉取项目到本地电脑上,不能通过 bun run dev 在本地运行 #4805

Closed mazwei closed 3 weeks ago

mazwei commented 1 month ago

Bug Description

执行命令 bun run dev 后,提示如下: webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option SingleEntryPlugin was renamed to EntryPlugin webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults

Steps to Reproduce

  1. 拉取项目:git clone https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
  2. 安装相关包:bun install
  3. 运行项目:bun bun run dev

Expected Behavior

请问怎么样才能在本地运行这个项目?

Screenshots

No response

Deployment Method

Desktop OS

No response

Desktop Browser

No response

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] When a new project is pulled to the local computer, it cannot be run locally through bun run dev

Kosette commented 4 weeks ago

使用yarn部署

Issues-translate-bot commented 4 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


Deploy using yarn

joe-ieta commented 4 weeks ago

first using npm run build to build the project and then using "npm start" to start running it. 使用 npm run build 编译,然后运行 npm start