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

Version Conflicts and Issues with upgrading dependencies - TypeOrm 0.3x #3382

Open
Aish1990 opened this issue Jun 12, 2024 · 0 comments
Open

Comments

@Aish1990
Copy link

We are facing some issues with EWF libraries as given below. Please help us to fix all these.

  1. During the CVE fix typeorm we tried upgrading the version of typeorm to 0.3x which was not compatible with even the EWF libraries or even latest ewf libraries.

    Dependencies:

    	"@energyweb/issuer": "7.0.1", 
    	"@energyweb/issuer-api": "0.4.1-alpha.1634225870.0", 
    	"@energyweb/origin-247-certificate": "4.1.5", 
    	"@energyweb/origin-backend": "11.0.2-alpha.1634225870.0", 
    	"@energyweb/origin-backend-core": "8.0.4-alpha.1634225870.0", 
    	"@energyweb/origin-backend-utils": "1.6.2-alpha.1634225870.0", 
    	"@energyweb/utils-general": "11.0.5-alpha.1634225870.0",
    	"typeorm": "0.3.12",
  2. When we downgraded the EWF libraries version, got error as "BlockchaninPropertiesService does not exit"

  3. When we upgraded the EWF versions to the latest, We got the "Issuer migration suceessfull". but entities are not updated, Hence got below error.

    Eror: missing providers (argument="providers", value=[], code=INVALID_ARGUMENT, version=providers/5/3/1)

    Dependencies:

  	"@energyweb/issuer": "6.0.2-alpha.1646058469.0", 
  	"@energyweb/issuer-api": "0.6.2-alpha.1646058469.0", 
  	"@energyweb/origin-247-certificate": "4.1.5", 
  	"@energyweb/origin-backend": "11.0.2-alpha.1634225870.0", 
  	"@energyweb/origin-backend-core": "8.0.4-alpha.1634225870.0", 
  	"@energyweb/origin-backend-utils": "1.6.2-alpha.1634225870.0", 
  	"@energyweb/utils-general": "11.0.5-alpha.1634225870.0",
  	"typeorm": "0.2.41",
  1. How to handle if there are some old issuer_certificates of previous versions of issuer_certificates. The entity structure of old issuer_certificate entity and latest version issuer_certificate is different.
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