Hello,
I’m trying to modify the Projectify plugin on node.js with TW 5.3.0-prerelease but I’m stuck. I already upgraded my TW on node.js to 5.3.0-prerelease (it works fine).
But apparently this Projectify plugin uses a special (?) mechanism which requires cross-env
, and I suspect that this is what causes the issue:
Below using the original code, running from the root directory. If I use the regular way to start TW on node.js:
tiddlywiki --verbose . --listen
gives
Warning: Cannot find plugin 'nico/projectify'
Warning: missing plugin.info file in /home/erwan/tmp/Projectify/plugins/nico
The resulting wiki does not contain any of the plugin tiddlers.
If I use the method apparently recommended in the instructions for the plugin (after installing cross-env
with npm):
npm run serve
In this case the demo and plugin work perfectly, but it’s running TW 5.2.7 instead of 5.3.0-prerelease as I want.
I’m not knowledgeable at all about node.js, so it’s possible that I misunderstand things… Is there a way to either make this work with cross-env (maybe some config file to modify?) or get rid of cross-env in order to do a regular plugin? Any other advice?