Skip to content
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

Error reported due to esbuild@0.24.1 version issue after project creation #12583

Closed
n0liu opened this issue Dec 20, 2024 · 2 comments
Closed

Comments

@n0liu
Copy link

n0liu commented Dec 20, 2024

Vue version

3.5.13

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-7e6aek9b?file=package.json&terminal=dev

Steps to reproduce

  1. 使用 pnpm create vue@latest 创建项目
  2. 安装依赖
  3. 启动项目
image

What is expected?

normal operation
目前是 esbuild@0.24.1 更新到此版本。导致项目报错,换一个低版本0.24.0就正常运行

What is actually happening?

image

System Info

System:
    OS: macOS 15.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 69.50 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.19.2 - /usr/local/bin/npm
    pnpm: 8.5.0 - /usr/local/bin/pnpm
    Watchman: 2023.10.23.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 131.0.6778.205
    Edge: 131.0.2903.112
    Safari: 18.1
  npmPackages:
    vue: ^3.5.13 => 3.5.13

Any additional comments?

No response

@xvvhang
Copy link

xvvhang commented Dec 20, 2024

duplicated: vuejs/create-vue#641 and it looks like this should be fixed in vuejs/create-vue. more detail: https://github.com/vuejs/create-vue/blob/93223adec18b203e3d474aeceea03e623f7ed765/index.ts#L353

@cexbrayat
Copy link
Member

See vuejs/create-vue#641 (comment)

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

No branches or pull requests

3 participants