Skip to content

fix: add vite@2.5.0 as a devDependency to resolve build issues #1587

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ultimate-Destroyer
Copy link

Pull Request Details

Fix build issues by adding vite@2.5.0 as a devDependency

Description

  • Issue: Encountered an error when running the development server due to an undefined property in the Vite plugin for Vue.
  • Solution: This commit adds vite@2.5.0 as a devDependency, which resolves the error and allows the development environment to start correctly.

Steps to Reproduce:

  • Clone the repository.
  • Run npm install.
  • Execute npm run dev.
    Observe the error as shown in the help channel of discord.js support server.
Cannot read properties of undefined (reading 'replace')
8:32:56 pm [vite] Internal server error: Cannot read properties of undefined (reading 'replace')
  Plugin: vite:vue
  • Testing: After adding the dependency, I confirmed that the development server starts successfully on localhost:8080 without any errors.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant