vite-plugin-dynamic-publicpath icon indicating copy to clipboard operation
vite-plugin-dynamic-publicpath copied to clipboard

build error in [email protected]

Open GitYiM opened this issue 2 years ago • 1 comments

[vite:build-import-analysis] Cannot read property 'type' of undefined error during build: TypeError: Cannot read property 'type' of undefined at Object.generateBundle (file:///Users/workplace/public-path/node_modules/vite/dist/node/chunks/dep-c7f6d0a5.js:40589:27) at file:///Users/workplace/public-path/node_modules/rollup/dist/es/shared/rollup.js:22739:37

GitYiM avatar Jul 05 '22 08:07 GitYiM

Same on my side.

$ vite build
vite v2.9.9 building for production...
✓ 41 modules transformed.
rendering chunks (8)...[vite:build-import-analysis] Cannot read property 'type' of undefined
error during build:
TypeError: Cannot read property 'type' of undefined
    at Object.generateBundle (...\node_modules\vite\dist\node\chunks\dep-59dc6e00.js:38155:27)
    at ...\node_modules\rollup\dist\shared\rollup.js:23038:37
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
error Command failed with exit code 1.

it-xtech-dev avatar Jul 20 '22 22:07 it-xtech-dev