Closed
Description
Describe the bug
Updating Vite to 3.2.0 causes TypeScript to complain about missing picomatch
dependency, which is dev dependency of vite
.
node_modules/vite/dist/node/index.d.ts(35,43): error TS2307: Cannot find module 'picomatch' or its corresponding type declarations.
This can be seen on https://github.com/xfix/live/actions/runs/3332827904/jobs/5514140592.
index.d.ts
contains the following import.
import type { Matcher as Matcher_2 } from 'picomatch';
Matcher_2
is not used anywhere.
Reproduction
https://github.com/xfix/live/actions/runs/3332827904/jobs/5514140592
Steps to reproduce
No response
System Info
GitHub Actions, vite 3.2.0
Used Package Manager
npm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Activity