Getttig the following error when trying to use the generator
Error Details
> yo ccc
Error ccc
Unknown file extension ".ts" for /Users/username/.nvm/versions/node/v22.11.0/lib/node_modules/generator-ccc/generators/app/index.ts
TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ERR_UNKNOWN_FILE_EXTENSION')
at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
at process.exit (node:internal/process/per_thread:178:24)
at onError (/usr/local/lib/node_modules/yo/lib/cli.js:117:11)
at /usr/local/lib/node_modules/yo/lib/cli.js:168:54
at async init (/usr/local/lib/node_modules/yo/lib/cli.js:168:5)
at async pre (/usr/local/lib/node_modules/yo/lib/cli.js:83:3)
at async /usr/local/lib/node_modules/yo/lib/cli.js:193:3
Environment
- Node: v22.11.0
- NPM: 10.9.0
- generator-ccc@1.5.2
- yo: 5.0.0
generator-ccc is installed globally, unknown how yo is installed, likely via home brew
Discussion
Seems like there is an expectation that my system is setting to exec .ts files isn't in the setup instructions, or the latest version of the package wasn't built to .js before pushing to npm. 🤷
Workarounds
Download the source, build, and link as shown in the README.md. Quick
Getttig the following error when trying to use the generator
Error Details
Environment
generator-cccis installed globally, unknown howyois installed, likely via home brewDiscussion
Seems like there is an expectation that my system is setting to exec .ts files isn't in the setup instructions, or the latest version of the package wasn't built to
.jsbefore pushing to npm. 🤷Workarounds
Download the source, build, and link as shown in the README.md. Quick