Run on windows using pnmp dlx generates error
JustinGrote opened this issue · comments
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:
- OS: Windows 10 10.0.23451
Binaries:
- Node: 16.17.1 - ~\AppData\Local\pnpm\node.EXE
- npm: 8.15.0 - ~\AppData\Local\pnpm\npm.CMD
CLI options
- _:
- output: true
- format: markdown
- preset: node
- group-similar-commits: false
- groupSimilarCommits: false
- author: false
- interactive: false
- i: false
- release: from-package
- $0: ....\AppData\Local\pnpm\store\v3\tmp\dlx-13176\node_modules\gitmoji-changelog\src\index.js
- mode: init
Project info
- name: pester-test
- version: 0.0.0-source
- description: Enables you to run PowerShell Pester tests using the VSCode testing feature
Repository info
- type: github
- domain: github.com
- user: pester
- project: vscode-adapter
- url: https://github.com/pester/vscode-adapter
- bugsUrl: https://github.com/pester/vscode-adapter/issues
This error report was generated with ❤️ by issue-reporter