Skip to content

npm create vue@3 1 throwsERR_INVALID_ARG_TYPE #201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sapphi-red opened this issue Nov 30, 2022 · 0 comments
Closed

npm create vue@3 1 throwsERR_INVALID_ARG_TYPE #201

sapphi-red opened this issue Nov 30, 2022 · 0 comments

Comments

@sapphi-red
Copy link
Contributor

npm create vue@3 1 / yarn create vue 1 / pnpm create vue 1 throws the following error.

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type number (1)
    at new NodeError (node:internal/errors:387:5)
    at validateString (node:internal/validators:121:11)
    at Object.join (node:path:429:7)
    at init (C:\Users\green\AppData\Local\npm-cache\_npx\d8a5db81a46afa44\node_modules\create-vue\outfile.cjs:4041:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Original issue: vitejs/vite#11129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant