-
Notifications
You must be signed in to change notification settings - Fork 401
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
Bug: iterall not in package.json #537
Comments
This probably worked before because of the behavior described in this comment: |
This issue is not related to NestJS |
??? This package is using a library not defined in its package.json. How is this not related? The only reason it works now is because of a "bug" or undocumented feature in previous versions of npm or yarn, but definitely not something to be relied on. There's a separate dependency that is installing |
iterall was imported without being in package.json This works in some environments because the package steals iterall from its sub dependencies, but it is not a good practice and not compatible with https://yarnpkg.com/lang/en/docs/pnp/ and with upcoming similar features from npm This is a bad practice in general: https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-extraneous-dependencies.md Fixes nestjs#537
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
graphql/lib/utils/async-iterator.util.ts
Line 1 in 487379b
This library imports
iterall
but it is not defined in package.json.This is a problem with yarn v2, the upcoming version of yarn, resulting in errors such as:
The library should be added to dependencies.
The text was updated successfully, but these errors were encountered: