`@datorama/akita`显示与rxjs相关的错误(从中导入的导出在rxjs中找不到)。

huangapple go评论115阅读模式
英文:

@datorama/akita showing error related to rxjs (export which is imported from is not found in rxjs

问题

I was using @datorama/akita to do with my project, everything is working fine until I run the command npm start
Then a lot of errors shows up with the same format as these

./node_modules/@datorama/akita/src/lib/arrayFind.js:31:9-29 - Error: export 'distinctUntilChanged' (imported as 'distinctUntilChanged') was not found in 'rxjs'

This repeated a lot of times with different exports but all from @datorama/akita.

My @datorama/akita version is 8.0.1 while my rxjs version is 6.6.0

英文:

I was using @datorama/akita to do with my project, everything is working fine until I run the command npm start
Then a lot of errors shows up with the same format as these

./node_modules/@datorama/akita/src/lib/arrayFind.js:31:9-29 - Error: export 'distinctUntilChanged' (imported as 'distinctUntilChanged') was not found in 'rxjs'

This repeated a lot of times with different exports but all from @datorama/akita.

My @datorama/akita version is 8.0.1 while my rxjs version is 6.6.0

答案1

得分: 1

更新rxjs到最新版本似乎有效...

英文:

It seems that updating rxjs to the newest version works...

答案2

得分: 0

@datorama/akita 版本 8 需要 rxjs 版本 7.8.0。更新 rxjs 解决了问题。

英文:

@datorama/akita version 8 requires rxjs version 7.8.0.
Updating rxjs solves the problem.

huangapple
  • 本文由 发表于 2023年5月11日 11:06:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/76223891.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定