Skip to content

Bug: glob no matches found error with deno task and npm-run-all #23525

@marvinhagemeister

Description

@marvinhagemeister

Tried running the build command of the Preact repository and ran into this error.

Steps to reproduce

  1. Create a package.json file with these contents:
{
  "scripts": {
    "all": "npm-run-all foo:*",
    "foo:a": "echo 'a'",
    "foo:b": "echo 'b'"
  },
  "dependencies": {
    "npm-run-all": "^4.1.5"
  }
}
  1. Run npm i
  2. Run DENO_FUTURE=1 deno task all

Error

Deno:

$ deno task all 
Task all npm-run-all foo:*
glob: no matches found '/Users/marvinh/dev/test/deno-run-all/foo:*'

Node:

$ npm run all

> all
> npm-run-all foo:*


> foo:a
> echo 'a'

a

> foo:b
> echo 'b'

b

Version: Deno 1.42.4 (git 5294885 2024-04-24)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions