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

Breaking dependency [email protected] #77

Open
alexdhill opened this issue Feb 19, 2024 · 4 comments
Open

Breaking dependency [email protected] #77

alexdhill opened this issue Feb 19, 2024 · 4 comments

Comments

@alexdhill
Copy link

This [email protected] depends on @types/glob instead of glob which breaks node autoimporting. This can be fixed with globby@^11.0.0 to allow node builds to work correctly.

@vojvodics
Copy link

Is there any workaround for this?

@HatemMn
Copy link

HatemMn commented May 27, 2024

Hello ! I am having the same issue !

I get the error : rollup-plugin-copy Module '"glob"' has no exported member 'IOptions'.

Will there be a fix for this ?

@HatemMn
Copy link

HatemMn commented May 27, 2024

For info, the method provided by @alexdhill did not work for. Even if I specify globby@^11.0.0 I get the same error :

node_modules/rollup-plugin-copy/node_modules/globby/index.d.ts:1:9 - error TS2305: Module '"glob"' has no exported member 'IOptions'.

1 import {IOptions as NodeGlobOptions} from 'glob';
          ~~~~~~~~


Found 1 error in node_modules/rollup-plugin-copy/node_modules/globby/index.d.ts:1

@ocshawn
Copy link

ocshawn commented Aug 23, 2024

until they fix it, you can fix it in your environment by adding an override in your package.json file

  "overrides": {
    "rollup-plugin-copy": {
      "globby": "^11.0.0"
    }

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

4 participants