Closed ssow closed 1 year ago
Have you upgraded to the latest version of vis-network? That should fix the issue.
I'm unable to upgrade as the instance does not start :-)
So this is happening in a standalone tiddlywiki file?
It's a nodejs installation.
Right. You did say nodejs. My listening skills are poor.
If you're installing your plugins through the browser, you must have all your plugins in a "plugin" directory off your root dir? Is that correct?
yes. The plugins files are actually stored in the root directory and renamed (pathname included)
All right, I think I figured this out.
cd
to the root directory of your project, and then type:
tiddlywiki --import <path/to/that/file.json> application/json
...where <path/to/that/file.json> is probably something like ~/Downloads/vis-network.json
That should sort you out. Sorry you have to go through this. Tiddlywiki V5.3.0 has suddenly decided to disallow Global assignment in nodejs, which is something that the vis-network relied on. The new version has a workaround for this.
Edit: corrected application/son
to be application/json
Crap. That's not going to work, is it? The command line won't even run because of this issue.
Let me think about this.
It does not work as the program stopped during loading :-) I need to remove the plugins manually, i guess.
Okay, I think I figured it out.
<root>/tiddlers
directory. That appears to make it load as a plugin, and while it's not a perfect place for it, this will at least allow you to load up your tiddlywiki.But you should only need to remove the vis-network plugin, which should be in your <root>/plugins
directory, I think, depending on how you installed.
I've removed all \$__pluginsfelixhayashi* files and the instance is online. I guess it would be wise to add a "safe mode" flag to tiddlywiki nodejs which disables plugins loading :-)
Thank you very much for your help.
Sincerely
Sorry you had to fully uninstall TiddlyMap to get back online. If you upgrade to the latest versions of TMap and its dependencies, everything should be functional again.
Edit: Which, by the way, can be found here
No worries. I've learnt something from the experience.
Hi,
It seems that there is an issue with tiddlymap plugins after upgrading to tiddlywiki 5.3. The following error is printed when starting nodejs
tiddlywiki[21557]: Error executing boot module $:/plugins/felixhayashi/vis/vis.js: "Global assignment is not allowed within modules on node."
Any clue regarding how to fix this issue ?
Thank you