-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update angular and ukis #71
Comments
One might want to consider that long term we need to do some restructuring to the code, anyway. In the long term processes and products will no longer be hardcoded into the frontend, but instead be red from a database. This requires us to separate the processing- and the render-logic in our current |
There is a nice upgrade-guide for ngrx here: https://v11.ngrx.io/guide/migration/v11 |
Lots of dependency conflicts. Listing them here so I can keep track of them all. Following https://update.angular.io/?l=3&v=10.1-12.0 and https://ngrx.io/guide/migration/v12 Issue 1: on
Issue caused by a known bug in npm 7+. Downgrading to npm v6 resolves the problem. |
Issue 2: running after upgrading to angular 11:
Related to this issue in clarity; resolved by updating clarity to version 4.0.16 |
On angular 11, attempting to update to angular 12.
Clearly, the version of clarity I have installed cannot handle the new angular libraries. That's ok, we'll update it once angular is updated.
We might be able to make use of Either way, we are now in a state where we have angular12 but still clarity4 and ukis7. These versions are probably incompatible.
Renamed all occurances of |
Issue 4: Trying to run now causes:
amdefine is a dependency of jsonix. This is a problem - jsonix is no longer maintained. But: I do maintain my own fork of the library. Might be able to fix the issue there. For now I've ...
|
Issue 5: After upgrade to angular 12, a bunch of type errors in our libraries are detected.
This is an issue with @dlr-eoc (will create an issue in that repo later) which we cannot really handle in this project. Instead just setting "skipLibCheck" in tsconf. But in the future we should better revert that setting (for increased type-security). |
There is a bug where selecting another earthquake does not cause the 'selected-eq' layer to change.
That bug is caused by an older version (7) of ukis. Updating ukis to a newer version would solve the issue.
Updating is not quite that easy, however.
In other words, fixing this bug might require a rather complicated update of ukis, angular and ngrx.
The text was updated successfully, but these errors were encountered: