frinyvonnick / gitmoji-changelog

A changelog generator for gitmoji 😜
https://www.npmjs.com/package/gitmoji-changelog
MIT License
388 stars 49 forks source link

Run on windows using pnmp dlx generates error #268

Open JustinGrote opened 1 year ago

JustinGrote commented 1 year ago

Stacktrace

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received type boolean (true)
    at Object.open (node:fs:555:10)
    at writeFile (node:fs:2174:6)
    at node:internal/util:361:7
    at new Promise (<anonymous>)
    at writeFile (node:internal/util:347:12)
    at markdownFromScratch (C:\Users\jgrote\AppData\Local\pnpm\store\v3\tmp\dlx-13176\node_modules\.pnpm\@gitmoji-changelog+markdown@2.3.0\node_modules\@gitmoji-changelog\markdown\src\index.js:45:33)
    at buildMarkdownFile (C:\Users\jgrote\AppData\Local\pnpm\store\v3\tmp\dlx-13176\node_modules\.pnpm\@gitmoji-changelog+markdown@2.3.0\node_modules\@gitmoji-changelog\markdown\src\index.js:17:12)
    at main (C:\Users\jgrote\AppData\Local\pnpm\store\v3\tmp\dlx-13176\node_modules\.pnpm\gitmoji-changelog@2.3.0\node_modules\gitmoji-changelog\src\cli.js:100:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Environment

System:

CLI options

Project info

Repository info


This error report was generated with ❤️ by issue-reporter