ptr@pop-os echo $TIDDLYWIKI_PLUGIN_PATH
/home/ptr/.config/.tiddlywiki/plugins
ptr@pop-os cd "$TIDDLYWIKI_PLUGIN_PATH"/tiddly-gittly/tag-tree-picker-macro
ptr@pop-os find ./ -type f -iname t'*tagTreeMacro*.*'
ptr@pop-os
ptr@pop-os grep -ri tagTreeMacro.js ./
./tag-tree-picker-macro/tagTreeMacro.ts.meta:title: $:/plugins/linonetwo/tag-tree-picker-macro/tagTreeMacro.js
ptr@pop-os find ./ -type f -iname '*linonetwo*.*'
ptr@pop-os
at the end of github (README.md) there is
## Usage
See [doc site](https://tiddly-gittly.github.io/tiddlywiki-tag-tree-picker-macro/).
## Install
From [CPL](https://github.com/tiddly-gittly/TiddlyWiki-CPL).
doc site is a demosite for tag-tree-picker-macro.
When in that site I insepect path for the plugin, it says $:/plugins/linonetwo/tag-tree-picker-macro/
Ohh,
One last try.
ptr@pop-os git clone https://github.com/tiddly-gittly/tiddlywiki-tag-tree-picker-macro
ptr@pop-os cd ./tiddlywiki-tag-tree-picker-macro
ptr@pop-os find ./ -type f -iname '*linonetwo*.*'
./tiddlywiki-tag-tree-picker-macro/wiki/tiddlers/$__plugins_linonetwo_prevent-edit.json
./tiddlywiki-tag-tree-picker-macro/wiki/tiddlers/$__plugins_linonetwo_prevent-edit.json.meta
I like to have a separate plugin folder.
But I may try another serever just to see If I got it working withthat method.
My node version is v12.22.9
I see that Latest Current Version: 21.5.0 (includes npm 10.2.4)
Strange. The one I have is whats from the official repos.
The chinese github at end of README.md tellst to use npm for thier install . But their plugint does another job (AFAIK).
The one that I i linked to in topic have downloadable relase 1.0.0 .
I think if you do npm i in the root directory ( the one with package.json) it will install typescript. Typescript is listed as one of the dependencies. You can look at package.json to see all the dependencies needed. I don’t know if it installs the dependencies globally, or if other steps will be needed. It’s been awhile since I’ve used node.js (except for stock Tiddlywiki).
It would be much easier to just grab the plugin from their demo
I’m not clear what you are doing using cli, but I recognize Unexpected token '?' on ?? means your browser or nodejs might be outdated. (You can ask GPT for this error, really).
I recommend at least node 18, or TidGi app which use electron with latest nodejs.
Usually you can follow the step in Github Action, using same nodejs version as it, and follow the step it does, you can get the plugin compiled form source.
This is not recommended for most of users, because they will encounter error and rising issues. So we make and recommend CPL to reduce QA pressures.
But if you are a web developer then this is not the case, you can try steps in .github/workflows/release.yml and you will get a dist folder that can be renamed and drag to your plugins folder.
I was told that from Mark_S a few hours ago. So I updated to, 20.10.0 . He also mentioned that I should install Typescript, which I did . The error is pretty much the same…
Even thought that, I have one installpath for tiddlywiki which I reinstall each time only for test. My script that starts that tiddllywiki sets TIDDLYWIKI_PLUGIN_PATH= (empty) just in case to not confuse anything.
I am no developer, but I have some years with linux shell and have spent way to much time with scripting for bash.
fSo I don’t believe that should be a problem.
But I am a noob when it comes to code anything based on html/css/javasctipt .