Symbolic links are absolutely fine. It's the way I do all my plugins. NPM can even manage links for you using npm link
I installed both again (it didn't crash this time... guess that was another plugin which i uninstalled)
So on the latest nodebb version, I've install both, activated both, restarted.
Can't find the widget or any plugin under "installed plugins"
from the Dev log:
warn: [plugins/nodebb-plugin-teamspeak] A templates directory was defined for this plugin, but was not found.
info: [meta/templates] Compiling templates
[cluster] Child Process (17056) listening for connections.
warn: [plugins/nodebb-widget-teamspeak] A templates directory was defined for this plugin, but was not found.
[cluster] Child Process (17043) has exited (code: 0)
Go to extend > widgets, it should be in there. Widgets don't need activating. You can ignore the warn, plugin author needs to make sure he's not pointing to unnecessary folders.
@chas - The plugin should be showing up if it's activated, same with the widget. That's odd. If we can find a time to troubleshoot, I can chat with you and try to figure out what the problem is. I just tried a test install directly from npm, had no problems. I'm also not getting the same warnings as you. In fact, no warnings regarding those plugins at all.
What version of NodeBB are you on?
@Silvina - I'm working on a diferent plugin right now, and will work on the docs after this one is finished.
@pitaj NodeBB v0.5.2.
NodeBB Teamspeak plugin
This plugin allows for web-based administration of the server.
Installed 0.1.7 | Latest 0.1.7
NodeBB Teamspeak widget
This plugin allows for a widget to be created which shows the channels and clients in a Teamspeak server.
Installed 0.1.0 | Latest 0.1.0
not sure if related, but I never got it to install with npm, so i downloaded the zip manually and extracted into the node_modules folder. This is what i get if i try install with npm, but nothing happens :L
sudo npm install nodebb-plugin-teamspeak
npm http GET https://registry.npmjs.org/nodebb-plugin-teamspeak
npm http 304 https://registry.npmjs.org/nodebb-plugin-teamspeak
npm http GET https://registry.npmjs.org/js-beautify
npm http GET https://registry.npmjs.org/later
npm http 304 https://registry.npmjs.org/js-beautify
npm http 304 https://registry.npmjs.org/later
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/config-chain
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/config-chain
npm http 304 https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/proto-list
npm http GET https://registry.npmjs.org/ini
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/proto-list
npm http 304 https://registry.npmjs.org/ini
npm http GET https://registry.npmjs.org/minimist/0.0.8
npm http 200 https://registry.npmjs.org/minimist/0.0.8
npm http GET https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
[email protected] node_modules/nodebb-plugin-teamspeak
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected])
[email protected]:~$ sudo npm install nodebb-widget-teamspeak
npm http GET https://registry.npmjs.org/nodebb-widget-teamspeak
npm http 304 https://registry.npmjs.org/nodebb-widget-teamspeak
[email protected] node_modules/nodebb-widget-teamspeak
@chas what directory are you
npm installing from? You have to be in the root directory of the nodebb install for it to recognize the installed plugin/widget.
Thanks a lot @pitaj, works now using npm in the root opps!