-
Notifications
You must be signed in to change notification settings - Fork 38
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
"require is not a function" when running a script note #433
Comments
@riegera2412 , thank you for the report. |
Just to add what you probably have figured out yourself already. After checking some of the other scripts I use and realize they work, I had a look at the agenda script again. The line of code that apparently causes the problem is
which makes sense I guess since the function is literally named require. From what I read here it has something to do with a plugin. I am not aware I installed it manually, so I guess it is part of trilium. Dont know if this really helps. André |
TriliumNext Version
v0.90.4/ also checked on latest
What operating system are you using?
Other Linux
What is your setup?
Server access only
Operating System Version
Win1122H2
Description
Hey there,
since I am not an experienced software guy, I might be wrong about claiming this to be a bug, so I apologize in advance.
I just came to realize, that the scripts I used in my zadam/trilium docker container are no longer working since I migrated to triliumnext/notes. When I run them manually I get the following error message:
The script note itself looks like this
It is the agenda function found on awesome trilium if I recall correctly and it worked perfectly before. "agenda_js_backend" is the name of the note containing the script and "WxG3UAQove1b" is the notes id.
Any help or insight on how to resolve this is very much appreciated.
Error logs
No response
The text was updated successfully, but these errors were encountered: