Skip to content
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

TypeError [ERR_INVALID_ARG_TYPE] when using cca #208

Open
volkavich opened this issue Sep 24, 2024 · 0 comments
Open

TypeError [ERR_INVALID_ARG_TYPE] when using cca #208

volkavich opened this issue Sep 24, 2024 · 0 comments

Comments

@volkavich
Copy link

volkavich commented Sep 24, 2024

  • TypeError when using cca on Windows machine
  • Below is the error message

node:path:682
    validateString(path, 'path');
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at dirname (node:path:682:5)
    at C:\Users\User\AppData\Roaming\npm\node_modules\create-cosmos-app\dist\git-cca-template.js:173:95
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async cli (C:\Users\User\AppData\Roaming\npm\node_modules\create-cosmos-app\dist\cli.js:9:5)
    at async C:\Users\User\AppData\Roaming\npm\node_modules\create-cosmos-app\dist\create-cosmos-app.js:52:9 {
  code: 'ERR_INVALID_ARG_TYPE'
}

Node.js v20.17.0

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

No branches or pull requests

1 participant