Skip to content

1.3.15, e.diffs.map is not a function #21100

Closed as not planned
Closed as not planned

Description

@paojiaoge

Description

TypeError: e.diffs.map is not a function
at Object.fn (/assets/session-CD3MZ7Kw.js:42:53005)
at q2 (/assets/index-DU-I1iXf.js:2:6835)
at $l (/assets/index-DU-I1iXf.js:2:6592)
at zf (/assets/index-DU-I1iXf.js:2:8033)
at X7 (/assets/index-DU-I1iXf.js:2:8914)
at wO (/assets/index-DU-I1iXf.js:2:8286)
at Tr (/assets/index-DU-I1iXf.js:2:8218)
at nt (/assets/index-DU-I1iXf.js:2:3989)
at o (/assets/index-DU-I1iXf.js:2331:7287)
at /assets/session-CD3MZ7Kw.js:44:35952

Plugins

oh my opencode

OpenCode version

1.3.15

Steps to reproduce

upgrade

Screenshot and/or share link

Image

Operating System

Ubuntu24

Terminal

No response

Activity

  1. added
    bug
    on Apr 5, 2026
  2. added
    core
    on Apr 5, 2026
  3. github-actions commented on Apr 5, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    These issues describe the same e.diffs.map is not a function error. If your issue is different or not addressed by the fixes in those threads, please let a maintainer know.

  4. gzx19990101 commented on Apr 5, 2026

    @gzx19990101

    我也遇到了这个问题

  5. deanm0000 commented on Apr 5, 2026

    @deanm0000

    I just got this too

    TypeError: e.diffs.map is not a function
        at Object.fn (http://localhost:4096/assets/session-CD3MZ7Kw.js:42:53005)
        at q2 (http://localhost:4096/assets/index-DU-I1iXf.js:2:6835)
        at $l (http://localhost:4096/assets/index-DU-I1iXf.js:2:6592)
        at zf (http://localhost:4096/assets/index-DU-I1iXf.js:2:8033)
        at X7 (http://localhost:4096/assets/index-DU-I1iXf.js:2:8914)
        at wO (http://localhost:4096/assets/index-DU-I1iXf.js:2:8286)
        at Tr (http://localhost:4096/assets/index-DU-I1iXf.js:2:8218)
        at nt (http://localhost:4096/assets/index-DU-I1iXf.js:2:3989)
        at o (http://localhost:4096/assets/index-DU-I1iXf.js:2331:7287)
        at http://localhost:4096/assets/session-CD3MZ7Kw.js:44:35952

    version 1.3.15

  6. deanm0000 commented on Apr 5, 2026

    @deanm0000

    This temp fix from @natewill worked for me

    Temp fix:

    1. Open DevTools.
    2. DevTools ⋮ → More tools → Request conditions
    3. In that drawer, add:
      *://127.0.0.1:4096/vcs/diff* and
      *://localhost:4096/vcs/diff*
    4. Turn on “Enable blocking and throttling”
    5. Reload the page

    Try this, it might fix the bug

    NOTE: you need to keep devtools open for the bug to stay fixed

  7. igormiljenovic commented on Apr 5, 2026

    @igormiljenovic

    I had same issue on version 1.2.24, changed to 1.3.12 worked for me, seems most stable version IMO.

  8. TinyZzh commented on Apr 6, 2026

    @TinyZzh

    直接浏览器页面宽度减小,切换移动设备模式,不显示评审界面就能正常。老问题了

  9. AlextheYounga commented on Apr 6, 2026

    @AlextheYounga

    The above comment from @TinyZzh is correct. Translated:
    "If you simply reduce the browser window width to switch to mobile mode, the system functions normally—provided the review interface is not displayed. This is an old, recurring issue."

  10. krasen1234 commented on Apr 6, 2026

    @krasen1234

    Its should have been fixed long time ago, they is a patch for this but its obvisilty not working, same for copilot and openai getting stuck or freeze in the middle of everything..

  11. christoph-bessei commented on Apr 6, 2026

    @christoph-bessei

    The above comment from @TinyZzh is correct. Translated: "If you simply reduce the browser window width to switch to mobile mode, the system functions normally—provided the review interface is not displayed. This is an old, recurring issue."

    This worked for me too. Another workaround is to set review.panelOpened=false in the local storage of the browser. The key is opencode.global.dat:layout.

  12. added
    web
    and removed
    core
    on Apr 6, 2026
  13. removed their assignment
    on Apr 6, 2026
  14. rekram1-node commented on Apr 6, 2026

    @rekram1-node
    Member

    Try updating and hard refresh

  15. corvofeng commented on Apr 7, 2026

    @corvofeng

    Still happen in Version: 1.3.16

  16. xuanjianpengpeng commented on Apr 8, 2026

    @xuanjianpengpeng

    I encountered the same issue when upgrading to version 1.3.17, and it persists even after upgrading to version 1.4.0.

    TypeError: e.diffs.map is not a function
    at Object.fn (http://tauri.localhost/assets/session-8mwXB630.js:54:59109)
    at runComputation (http://tauri.localhost/assets/index-B1UwSBjo.js:1:6735)
    at updateComputation (http://tauri.localhost/assets/index-B1UwSBjo.js:1:6483)
    at runTop (http://tauri.localhost/assets/index-B1UwSBjo.js:1:7947)
    at runQueue (http://tauri.localhost/assets/index-B1UwSBjo.js:1:8848)
    at completeUpdates (http://tauri.localhost/assets/index-B1UwSBjo.js:1:8221)
    at runUpdates (http://tauri.localhost/assets/index-B1UwSBjo.js:1:8138)
    at batch (http://tauri.localhost/assets/index-B1UwSBjo.js:1:3650)
    at setStore (http://tauri.localhost/assets/index-OESEL3k8.js:2331:7801)
    at http://tauri.localhost/assets/session-8mwXB630.js:56:38446

  17. manuelkamp commented on Apr 9, 2026

    @manuelkamp

    still an issue in 1.3.17

  18. AlextheYounga commented on Apr 10, 2026

    @AlextheYounga

    This appears to be fixed in v1.4.3 after this commit: 689b1a4

    Thanks @adamdotdevin

  19. manuelkamp commented on Apr 10, 2026

    @manuelkamp

    not fixed for me unfortunately. have 1.4.3 installed and web frontend seems still to be v1.3.17

  20. removed
    bug
    web
    on May 3, 2026
  21. github-actions commented on Jul 6, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions