这是indexloc提供的服务,不要输入任何密码
Skip to content

Build fails due to missing minimatch type definitions #10632

@MikeyZhang75

Description

@MikeyZhang75

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

bunx create-turbo@latest

Which canary version will you have in your reproduction?

turbo@2.5.4

Environment information

turbo 2.5.4

CLI:
   Version: 2.5.4
   Path to executable: /Users/mikey/Projects/SMS/turbo-test-9/node_modules/turbo-darwin-arm64/bin/turbo
   Daemon status: Running
   Package manager: bun

Platform:
   Architecture: aarch64
   Operating system: macos
   WSL: false
   Available memory (MB): 22157
   Available CPU cores: 12

Environment:
   CI: None
   Terminal (TERM): xterm-256color
   Terminal program (TERM_PROGRAM): vscode
   Terminal program version (TERM_PROGRAM_VERSION): 0.51.1
   Shell (SHELL): /bin/zsh
   stdin: false

Expected behavior

Monorepo built with no issue.

Actual behavior

Type error: Cannot find type definition file for 'minimatch'.
  The file is in the program because:
    Entry point for implicit type library 'minimatch'

To Reproduce

bunx create-turbo@canary

or

bunx create-turbo@latest

Bun v1.2.17

Additional context

I’ve initialised the project with both npm and yarn—both build successfully. However, using Bun (v1.2.17) triggers the “Cannot find type definition file for ‘minimatch’” error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions