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
I can run an upgrade of NX with npm run update, without getting issues with dataPersistance.
Current Behavior
I have spent a lot of time to get the issues I had with RxJS version mismatch solved. See this topic: #1416 (comment).
Now it has been a while since I had the time to upgrade NX. So coming from "@nrwl/angular": "8.6.0" I am updating to "@nrwl/angular": "8.12.1". But as soon this upgrade is done, I get the same RxJS related errors.
Failure Information (for bugs)
My RxJS version is pinned to 6.5.3. After running the update I get these types of errors:
Type 'Observable<MyAction>' is not assignable to type 'void | Action | Observable<Action>'. Type 'Observable<MyAction>' is not assignable to type 'Observable<Action>'. Types of property 'source' are incompatible. Type 'import("/Users/evtk/Documents/git/my.repo/client/angular/node_modules/rxjs/internal/Observable").Observable<any>' is not assignable to type 'import("/Users/evtk/Documents/git/my.repo/client/angular/node_modules/@nrwl/angular/node_modules/rxjs/internal/Observable").Observable<any>'.
So then I decided to downgrade to the 6.4.0 version of RxJS. This is unwanted, because I have another package explicitly asking for 6.5.3, but just to make sure. After downgrading to RxJS 6.4.0 I have checked my package-lock file and it doesn't contain any references to RxJS 6.5.3. anymore. Now I can build my app, but as soon as I serve it, I get these type of errors again:
... dispatched an invalid action: {"_isScalar":false,"source"
Steps to Reproduce
I can't share my repo because it contains corporate code, but here is my package.json after just running the npm update. I feel that there should be no need to downgrade RxJS.
Expected Behavior
I can run an upgrade of NX with npm run update, without getting issues with dataPersistance.
Current Behavior
I have spent a lot of time to get the issues I had with RxJS version mismatch solved. See this topic: #1416 (comment).
Now it has been a while since I had the time to upgrade NX. So coming from "@nrwl/angular": "8.6.0" I am updating to "@nrwl/angular": "8.12.1". But as soon this upgrade is done, I get the same RxJS related errors.
Failure Information (for bugs)
My RxJS version is pinned to 6.5.3. After running the update I get these types of errors:
Type 'Observable<MyAction>' is not assignable to type 'void | Action | Observable<Action>'. Type 'Observable<MyAction>' is not assignable to type 'Observable<Action>'. Types of property 'source' are incompatible. Type 'import("/Users/evtk/Documents/git/my.repo/client/angular/node_modules/rxjs/internal/Observable").Observable<any>' is not assignable to type 'import("/Users/evtk/Documents/git/my.repo/client/angular/node_modules/@nrwl/angular/node_modules/rxjs/internal/Observable").Observable<any>'.
So then I decided to downgrade to the 6.4.0 version of RxJS. This is unwanted, because I have another package explicitly asking for 6.5.3, but just to make sure. After downgrading to RxJS 6.4.0 I have checked my package-lock file and it doesn't contain any references to RxJS 6.5.3. anymore. Now I can build my app, but as soon as I serve it, I get these type of errors again:
... dispatched an invalid action: {"_isScalar":false,"source"
Steps to Reproduce
I can't share my repo because it contains corporate code, but here is my package.json after just running the npm update. I feel that there should be no need to downgrade RxJS.
The text was updated successfully, but these errors were encountered: