Skip to content

Invalid glob: "$ROOT/**/*.tsx" (resolved: "$ROOT/**/*.tsx"). It must start with '/' or './' #5

@GuoRuiLv

Description

@GuoRuiLv

你好,
在以下环境运行时会出现异常。
异常信息:

Invalid glob: "$ROOT/**/*.tsx" (resolved: "$ROOT/**/*.tsx"). It must start with '/' or './'
      at async file:///G:/react/projects/vite-ant-design-pro/node_modules/.pnpm/vite@3.2.5_less@4.1.3/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:35447:31
      at async Promise.all (index 0)

环境信息:
OS: windows 11
PNPM: Version 7.11.0 (compiled to binary; bundled Node.js v14.19.2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions