And everything is great while using the "server" edition.
But I'd like to do that with "my" edit-comptextdemo edition. And I have a problem
0) say tiddlywiki is installed by npm in $TWHOME
1) I have my gitub plugin TW5-edit-comptext cloned in rep $TWHOME/plugins/snowgoon88/edit-comptext. Let name it $MYPLUGIN
2) I set up a
link in $TWHOME/editions to $MYPLUGIN/edit-comptextdemo
3) but, when I try `nodejs tiddlywiki.js dev_edit --init edit-comptextdemo`
in $TWHOME I have an error that does not append if I try to init something with, for, example
nodejs tiddlywiki.js dev_edit --init server
ERROR :
Copied edition 'edit-comptextdemo' to dev_edit
fs.js:432
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory 'dev_edit/
tiddlywiki.info'
at Object.fs.openSync (fs.js:432:18)
at Object.fs.readFileSync (fs.js:286:15)
at Command.execute ($:/core/modules/commands/init.js:51:31)
at Commander.executeNextCommand ($:/core/modules/commander.js:82:14)
at Commander.execute ($:/core/modules/commander.js:46:7)
at Object.exports.startup ($:/core/modules/startup/commands.js:34:12)
at $tw.boot.executeNextStartupTask (/home/dutech/Projets/node_modules/tiddlywiki/boot/boot.js:1945:10)
at $tw.boot.executeNextStartupTask (/home/dutech/Projets/node_modules/tiddlywiki/boot/boot.js:1943:21)
at $tw.boot.executeNextStartupTask (/home/dutech/Projets/node_modules/tiddlywiki/boot/boot.js:1943:21)
at $tw.boot.executeNextStartupTask (/home/dutech/Projets/node_modules/tiddlywiki/boot/boot.js:1943:21)
Someone can tell me what is happening ??
Thanks a lot,
Alain
For info,
** the following command works fine
nodejs ./tiddlywiki.js editions/edit-comptextdemo --build index
** File editions/edit-comptextdemo/
tiddlywiki.info is
{nodejs ./tiddlywiki.js editions/edit-comptextdemo --build index
"description": "Demo of the Edit-Comptext plugin",
"plugins": [
"snowgoon88/edit-comptext"
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
],
"includeWikis": [
],
"build": {
"index": [
"--rendertiddler","$:/core/save/all","edit-comptextdemo.html","text/plain"]
}
}
** And rep editions/edit-comptextdemo has
> editions/edit-comptextdemo
├── output
│ └── edit-comptextdemo.html
├── tiddlers
│ ├── About.tid
│ ├── $__config_EditorTypeMappings_text_vnd.tiddlywiki.tid
│ ├── DefaultTiddlers.tid
│ ├── hisFive.tid
│ ├── hisFor.tid
│ ├── hisOne.tid
│ ├── hisThree.tid
│ ├── hisTwo.tid
│ ├── myOne.tid
│ ├── myTwo.tid
│ ├── SiteSubtitle.tid
│ ├── SiteTitle.tid
│ └── Under the hood.tid
└──
tiddlywiki.infoand
** plugins/snowgoon88/edit-comptext
├── edit-comptextdemo
│ ├── output
│ │ └── edit-comptextdemo.html
│ ├── tiddlers
│ │ ├── About.tid
│ │ ├── $__config_EditorTypeMappings_text_vnd.tiddlywiki.tid
│ │ ├── DefaultTiddlers.tid
│ │ ├── hisFive.tid
│ │ ├── hisFor.tid
│ │ ├── hisOne.tid
│ │ ├── hisThree.tid
│ │ ├── hisTwo.tid
│ │ ├── myOne.tid
│ │ ├── myTwo.tid
│ │ ├── SiteSubtitle.tid
│ │ ├── SiteTitle.tid
│ │ └── Under the hood.tid
│ └──
tiddlywiki.info├── edit-comptext.js
├── files
│ ├── cursor-position.js
│ └── tiddlywiki.files
├──
plugin.info├── README.md
├── readme.tid