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

[vite:reporter] chunk.moduleIds is not iterable #1044

Open
lxccc812 opened this issue Dec 8, 2023 · 0 comments
Open

[vite:reporter] chunk.moduleIds is not iterable #1044

lxccc812 opened this issue Dec 8, 2023 · 0 comments

Comments

@lxccc812
Copy link

lxccc812 commented Dec 8, 2023

Vite build error

logs

vite v4.5.1 building for production...
✓ 3157 modules transformed.
transforming (3165) node_modules\.pnpm\z[email protected]\node_modules\zrender\lib\tool\dividePath.js[vite:reporter] chunk.moduleIds is not iterable

✨ [vite-plugin-imagemin]- compressed image resource successfully:


✓ built in 31.99s
error during build:
TypeError: chunk.moduleIds is not iterable
    at Object.renderChunk (file:///node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-68d1a114.js:13008:40)
    at file:////node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:22748:40
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
 ELIFECYCLE  Command failed with exit code 1.

version:

System:
  OS: Windows 11 10.0.22621
  CPU: (16) x64 AMD Ryzen 7 6800H with Radeon Graphics
  Memory: 5.06 GB / 15.19 GB
Binaries:
  Node: 16.19.1 - D:\nvm\nodejs\node.EXE
  npm: 8.19.3 - D:\nvm\nodejs\npm.CMD
  pnpm: 8.9.2 - D:\nvm\nodejs\pnpm.CMD
Browsers:
  Edge: Chromium (119.0.2151.97)
  Internet Explorer: 11.0.22621.1
npmPackages:
  @vitejs/plugin-vue: ^4.5.1 => 4.5.1
  @vitejs/plugin-vue-jsx: ^3.1.0 => 3.1.0
  rollup: ^2.79.1 => 2.79.1
  vite: ^4.5.1 => 4.5.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant