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

build error vite 2.8.0 error #12

Open
cuing opened this issue Feb 10, 2022 · 1 comment
Open

build error vite 2.8.0 error #12

cuing opened this issue Feb 10, 2022 · 1 comment
Labels
need reproduce need reproduce demo

Comments

@cuing
Copy link

cuing commented Feb 10, 2022

vite 2.8.0 use 「useDynamicPublicPath」plugin,build with error:

error during build: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at validateString (internal/validators.js:124:11) at Object.basename (path.js:1156:5) at Object.generateBundle (/Users/****/node_modules/vite/dist/node/chunks/dep-c9c9d3e5.js:29846:56) at /Users/****/node_modules/rollup/dist/shared/rollup.js:22681:25 at processTicksAndRejections (internal/process/task_queues.js:93:5)

without 「useDynamicPublicPath」,build is ok。

@jy0529
Copy link
Owner

jy0529 commented Feb 26, 2022

can you support a reproduce demo ?
I try to upgrade vite2.8 in examples, it's run ok.

@jy0529 jy0529 added the need reproduce need reproduce demo label Feb 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need reproduce need reproduce demo
Projects
None yet
Development

No branches or pull requests

2 participants