Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsc issue after install package @types/glob because of minimatch #68125

Open
rodchenkov opened this issue Jan 6, 2024 · 2 comments
Open

tsc issue after install package @types/glob because of minimatch #68125

rodchenkov opened this issue Jan 6, 2024 · 2 comments

Comments

@rodchenkov
Copy link

Hi, when I'm installing @types/glob and than run tsc got this error:

node_modules/@types/glob/index.d.ts:29:42 - error TS2694: Namespace '"/node_modules/minimatch/dist/cjs/index"' has no exported member 'IOptions'.

29     interface IOptions extends minimatch.IOptions {
                                            ~~~~~~~~

node_modules/@types/glob/index.d.ts:75:30 - error TS2724: '"/node_modules/minimatch/dist/cjs/index"' has no exported member named 'IMinimatch'. Did you mean 'Minimatch'?

75         minimatch: minimatch.IMinimatch;
                                ~~~~~~~~~~


Found 2 errors in the same file, starting at: node_modules/@types/glob/index.d.ts:29

Can you please help?

@carmenates09
Copy link

@rodchenkov I resolved myself following the next steps, not sure it this will work for you but maybe that give you other idea.

https://stackoverflow.com/a/77810047/2153237

@cfield13
Copy link

cfield13 commented May 9, 2024

Thank you! Worked for me, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants