Hi everyone,

I'm trying to create a new tiddlywiki plugin (a syncadaptor for a postgres 
database). That plugin depends on the nodejs module pg (for database 
connections), so I've installed pg via npm. The package is located in a 
folder named node_modules in the top folder TiddlyWiki5. I can successfully 
build an index.html file, but whenever I load that file I get the following 
error message:

*Error executing boot module $:/plugins/tiddlywiki/adapost/adapost.js: 
"Cannot find module named 'pg' required by module 
'$:/plugins/tiddlywiki/adapost/adapost.js', resolved to pg"*

What do I have to do to include the npm module pg in my distribution of 
TiddlyWiki5? Is there an easy way to achive this? It seems like the module 
has quite a bunch of dependencies and several .js files included.

Thank for your suggestions!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/292fbadc-e7a0-48c7-b526-203a81a821d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to