Closed malezjaa closed 6 months ago
The above error is caused by the following code:
https://github.com/malezjaa/elmen/blob/d1ae0b513c8104732ab52681c586b3f0e29c22c5/src/index.ts#L97
You could check your code logic to make sure it work correctly. :)
Thank you. I am really sorry for the trouble
Environment
node: v21.6.2 citty: ^0.1.6
Reproduction
https://github.com/malezjaa/elmen/blob/main/src/index.ts#L71
Describe the bug
I have a string argument called name:
It works fine when running locally:
But when i upload the package to npm and download it, it says
Cannot access properties of null (reading name)
even though args object contains the name:Additional context
No response
Logs
No response