Error on "readme" command : TypeError [ERR_INVALID_ARG_TYPE]
See original GitHub issueWhen I try to use the “readme” command it returns this error that I may have found in several Issue on other repo but none of the solutions are useful here :
⠋ Gathering project infosreadme [template]
Generate README.md from a template
Positionals:
template The name of template you want to use [défaut: "default"]
Options:
--version Affiche le numéro de version [booléen]
--help Affiche de l'aide [booléen]
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at validateString (internal/validators.js:107:11)
at Object.basename (path.js:1149:5)
at module.exports (/usr/local/lib/node_modules/readme-md-generator/node_modules/project-name/index.js:8:47)
at Object.getProjectInfos (/usr/local/lib/node_modules/readme-md-generator/src/project-infos.js:106:16)
at async mainProcess (/usr/local/lib/node_modules/readme-md-generator/src/cli.js:46:31)
Thank you !
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
ERR_INVALID_ARG_TYPE · Issue #22630 · nodejs/node
TypeError [ERR_INVALID_ARG_TYPE]: The "id" argument must be of type string. Received type undefined at Module.require (internal/modules/cjs/ ...
Read more >gitbook init Error - The "data" argument must be - Stack Overflow
gitbook init Error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument ... However, gitbook build and gitbook serve commands work anyway.
Read more >typeerror [err_invalid_arg_type]: the "data" argument must be ...
I receive this error: UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of ...
Read more >TypeError [ERR_INVALID_ARG_TYPE] in appchain-truffle-box
I followed the README file of the Appchain truffle box repo. And when I try to run npm run migrate. I got the...
Read more >TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument ...
After saving the file getting Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in last release
Thank you very much! I look forward to trying your tool it looks really good