hyperweb-io / hyperweb-io/create-cosmos-app

TypeError [ERR_INVALID_ARG_TYPE] when using cca

Open
#208 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
166
Forks
53
PR merge metrics
No merged PRs in 30d

Description

- 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

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.