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

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

Closed
3 tasks
mazwei opened this issue Jun 1, 2024 · 4 comments
Closed
3 tasks
Labels
bug Something isn't working

Comments

@mazwei
Copy link

mazwei commented Jun 1, 2024

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

  • Docker
  • Vercel
  • Server

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

@mazwei mazwei added the bug Something isn't working label Jun 1, 2024
@Issues-translate-bot
Copy link

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
Copy link

Kosette commented Jun 3, 2024

使用yarn部署

@Issues-translate-bot
Copy link

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


Deploy using yarn

@joe-ieta
Copy link

joe-ieta commented Jun 3, 2024

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

@fred-bf fred-bf closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants