Skip to content

Run on windows using pnmp dlx generates error #268

@JustinGrote

Description

@JustinGrote

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\@[email protected]\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\@[email protected]\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\[email protected]\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


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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions