load-files-error "TypeError: r.add is not a function" · Issue #1319 · logseq/logseq · GitHub
Skip to content

load-files-error "TypeError: r.add is not a function" #1319

Closed

Description

@ethinx

Describe the bug
When I did re-index of a GitHub backend database, the index page keep loading and get error in browser console

[frontend.handler.file] {:load-files-error #object[TypeError TypeError: r.add is not a function], :line 128}
(anonymous) @ sentry.min.js:1

To Reproduce

  1. Re-index database
  2. Get error after few seconds

Expected behavior
Reindex successfully and show the note index page instead of loading forever

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: 88.0.4324.150

Additional context
Console log as following, and please let me know if further information needed.

logseq.com-1613554956006.log

Activity

  1. self-assigned this
    on Feb 17, 2021
  2. added a commit that references this issue on Feb 18, 2021
  3. tiensonqin commented on Feb 19, 2021

    @tiensonqin
    Contributor

    It should be fixed now.

  4. doxavore commented on Feb 21, 2021

    @doxavore

    I can confirm this is still an issue on v0.0.9, also running macOS and Chrome 88. The error has shifted a little and is currently minified as z.add (instead of r.add). Happy to provide additional diagnostics.

    When I initially load I don't get any console errors. On clicking "re-index" I get Parsing : pages/page name here.md for each of my pages, then:

    [frontend.handler.file] {:load-files-error #object[TypeError TypeError: z.add is not a function], :line 128}
    
  5. ethinx commented on Feb 21, 2021

    @ethinx
    Author

    FYI, my issue was fixed and I think @doxavore may encounter another kind of similar issue.

  6. ethinx commented on Feb 23, 2021

    @ethinx
    Author

    I get the same error as @doxavore today, log attached.

    Could we reopen the issue? @tiensonqin

    logseq.com-1614050449509.log

  7. tiensonqin commented on Feb 23, 2021

    @tiensonqin
    Contributor

    @ethinx sure, is it still on the browser?

  8. ethinx commented on Feb 23, 2021

    @ethinx
    Author

    @ethinx sure, is it still on the browser?

    Tried re-index and nothing changed, same error. please let me know if you need any further information.

  9. doxavore commented on Feb 23, 2021

    @doxavore

    @tiensonqin Yes this is the browser for me. Specifically Chrome 88 on macOS (latest).

  10. tiensonqin commented on Feb 23, 2021

    @tiensonqin
    Contributor

    @doxavore Can you refresh the browser and give it another try? I think it should be fixed now.

  11. doxavore commented on Feb 23, 2021

    @doxavore

    This is fixed for me now. Thank you!

  12. tiensonqin commented on Feb 23, 2021

    @tiensonqin
    Contributor

    Thank you for the confirmation! @ethinx Is it working for you now?

  13. 12 remaining items

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

Metadata

Metadata

Assignees

Labels

:type/bugSomething isn't working. Affects daily use.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions