zrender icon indicating copy to clipboard operation
zrender copied to clipboard

[vite:reporter] chunk.moduleIds is not iterable

Open lxccc812 opened this issue 2 years ago • 0 comments

Vite build error

logs

vite v4.5.1 building for production...
✓ 3157 modules transformed.
transforming (3165) node_modules\.pnpm\[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

lxccc812 avatar Dec 08 '23 02:12 lxccc812