Skip to content

🛠 Repo: Windows fails to run npm test #5220

@mark-wiemer

Description

@mark-wiemer

Tooling Suggestion Checklist

Overview

When installing on Windows, npm test gives the following error:

~/repos/mocha (main)
$ npm test

> [email protected] test
> run-s lint test-node test-browser

... cut for GitHub ...

> [email protected] lint:markdown
> markdownlint '*.md' 'docs/**/*.md' '.github/*.md' 'lib/**/*.md' 'test/**/*.md' 'example/**/*.md' -i CHANGELOG.md

Usage: markdownlint [options] <files|directories|globs>

MarkdownLint Command Line Interface

Options:
  -V, --version                               output the version number
... cut for GitHub ...
  -h, --help                                  display help for command

Oops! Something went wrong! :(

ESLint: 8.56.0

No files matching the pattern "'bin/*'" were found.
Please check for typing mistakes in the pattern.

ERROR: "lint:code" exited with 2.
ERROR: "lint" exited with 1.

This is because of the single quotes. Removing them resolves the issue, but it's unclear if that affects other OS-es

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: repository toolingconcerning ease of contributionstatus: in triagea maintainer should (re-)triage (review) this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions