Closed wbxl2000 closed 1 year ago
This is an bug in create-vue
. I reported there (https://github.com/vuejs/create-vue/issues/201).
This is an bug in
create-vue
. I reported there (vuejs/create-vue#201).
When I use create-vue
on its own, I don't get this error, so I put this issue here
You can reproduce the error by running yarn create vue 1
.
oh yes, got it, thank you
Describe the bug
when using create vite, i choose framework "vue" and "Customize with create-vue", complete the all steps then, i got a error:
no matter which options i choose i always got this (after "Customize with create-vue")
Reproduction
nope
Steps to reproduce
yarn create vite
yarn create v1.22.19 [1/4] š Resolving packages... [2/4] š Fetching packages... [3/4] š Linking dependencies... [4/4] šØ Building fresh packages... success Installed "create-vite@3.2.1" with binaries:
success Installed "create-vue@3.4.1" with binaries:
ā Add TypeScript? ā¦ No / Yes ā Add JSX Support? ā¦ No / Yes ā Add Vue Router for Single Page Application development? ā¦ No / Yes ā Add Pinia for state management? ā¦ No / Yes ā Add Vitest for Unit Testing? ā¦ No / Yes ā Add an End-to-End Testing Solution? āŗ No ā Add ESLint for code quality? ā¦ No / Yes TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type number (1) at new NodeError (node:internal/errors:372:5) at validateString (node:internal/validators:120:11) at Object.join (node:path:1172:7) at init (/Users/qilongyu/.config/yarn/global/node_modules/create-vue/outfile.cjs:4041:22) at processTicksAndRejections (node:internal/process/task_queues:96:5) { code: 'ERR_INVALID_ARG_TYPE' }
System Info
Used Package Manager
yarn
Logs
No response
Validations