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

Request is deprecated, uuid is broken when imported as a module #13

Open
zachequi opened this issue Aug 9, 2022 · 0 comments
Open

Request is deprecated, uuid is broken when imported as a module #13

zachequi opened this issue Aug 9, 2022 · 0 comments

Comments

@zachequi
Copy link

zachequi commented Aug 9, 2022

Describe the bug
Importing @vgs/api-client is broken at the moment,

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by "exports" in /usr/src/app/node_modules/uuid/package.json

To Reproduce

  • yarn add @vgs/api-client
  • import * as VGS from '@vgs/api-client'
  • Error inconsole

Additional context
I suspect this is because VGS is using a several year old and deprecated version of request and thus a very old version of uuid that doesn't work with modules.

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

1 participant