Skip to content
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

Bug report dv.lists Evaluation Error: TypeError: e is not a function #2308

Open
jwvanderbeck opened this issue Apr 16, 2024 · 2 comments
Open
Labels
bug Something isn't working.

Comments

@jwvanderbeck
Copy link

jwvanderbeck commented Apr 16, 2024

What happened?

I am trying to learn how to use DataviewJS to do more advanced things beyond the norm, but I can't even seem to get anythign to render using dv.list as per the docs?

I am using just a very simple call from the docs to render a hard coded list but I get this error, and you can't even re-edit the block when this error appears

Evaluation Error: TypeError: e is not a function
    at l$1.__b (plugin:dataview:15036:2086)
    at l$1.__b (plugin:dataview:15038:811)
    at L$1 (plugin:dataview:15034:5047)
    at D$1 (plugin:dataview:15034:9062)
    at ReactRenderer.onload (plugin:dataview:15279:9)
    at e.load (app://obsidian.md/app.js:1:1167250)
    at e.addChild (app://obsidian.md/app.js:1:1167651)
    at DataviewApi.list (plugin:dataview:19460:19)
    at DataviewInlineApi.list (plugin:dataview:18838:25)
    at eval (eval at <anonymous> (plugin:dataview), <anonymous>:1:42)

DQL

No response

JS

dataviewjs
dv.list([1, 2, 3])

Dataview Version

0.5.66

Obsidian Version

1.5.12

OS

Windows

@jwvanderbeck jwvanderbeck added the bug Something isn't working. label Apr 16, 2024
@jwvanderbeck
Copy link
Author

This started happening on dv.table as well. Restarting Obsidian seems to have fixed it (for now) but I have no idea how started in the first place.

@holroy
Copy link
Contributor

holroy commented Apr 17, 2024

I'm not able to reproduce this issue, so please report back with a more reliable trigger on the potential bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

2 participants