qmhc / vite-plugin-dts

A Vite plugin for generating `.d.ts` files.
MIT License
1.3k stars 90 forks source link

Missing Dependency "lru-cache@^6.0.0" #364

Open ryangrunest opened 2 months ago

ryangrunest commented 2 months ago

Describe the bug

During npm install vite-plugin-dts -D, currently getting a dependency error:

npm ERR! code ETARGET
npm ERR! notarget No matching version found for lru-cache@^6.0.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

Reproduction

https://www.npmjs.com/package/vite-plugin-dts?activeTab=readme

Steps to reproduce

Run npm install vite-plugin-dts -D

System Info

npm ERR! code ETARGET
npm ERR! notarget No matching version found for lru-cache@^6.0.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.


### Validations

- [X] Read the [FAQ](https://github.com/qmhc/vite-plugin-dts#faq).
- [X] Check that there isn't [already an issue](https://github.com/qmhc/vite-plugin-dts/issues) that reports the same bug to avoid creating a duplicate.
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
qmhc commented 2 months ago

Please provide a reproduction.