Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

build error in vite@v3.0.6beta #17

Open
GitYiM opened this issue Jul 5, 2022 · 1 comment
Open

build error in vite@v3.0.6beta #17

GitYiM opened this issue Jul 5, 2022 · 1 comment

Comments

@GitYiM
Copy link

GitYiM commented Jul 5, 2022

[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 GitYiM changed the title build error in vitev3.0.6beta build error in vite@v3.0.6beta Jul 5, 2022
@it-xtech-dev
Copy link

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.

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

No branches or pull requests

2 participants