You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.
The full explanation for this issue can be found here.
Basically, when using yarn with pnp, yarn is really strict with dependency management, so you should not require dependencies which are not correctly declared in the package.json. As of now, hdb-pool requires @sap/hana-client in Utils but it does not declare it as a dependency in the package.json, only as a devDependency.
Because of this, a yarn pnp project trying to use any package that depends on hdb-pool (like typeorm) will fail and it needs to do a workaround in .yarnrc.yml:
The full explanation for this issue can be found here.
Basically, when using yarn with pnp, yarn is really strict with dependency management, so you should not require dependencies which are not correctly declared in the package.json. As of now, hdb-pool requires @sap/hana-client in Utils but it does not declare it as a dependency in the package.json, only as a devDependency.
Because of this, a yarn pnp project trying to use any package that depends on hdb-pool (like typeorm) will fail and it needs to do a workaround in .yarnrc.yml:
To fix this, please just move hdb-pool from a devDependency to a dependency. For now, I'm not sure if any other package should also make this move.
The text was updated successfully, but these errors were encountered: