Using puTTy to retrieve a plugin..
-
@MBFTOM said in Using puTTy to retrieve a plugin..:
[root@centos-2gb-lon1-01 ~]# npm install nodebb-plugin-registration-notification
npm http GET https://registry.npmjs.org/nodebb-plugin-registration-notification
npm http 304 https://registry.npmjs.org/nodebb-plugin-registration-notificationThis indicates something went wrong with npm... nothing to do with NodeBB.
Try
npm cache clean
and thennpm i nodebb-plugin-registration-notification
-
@julian said in Using puTTy to retrieve a plugin..:
npm i nodebb-plugin-registration-notification
thanks for the reply.
It doesnt recognise the first, but the second command gives:
login as: root
[email protected]'s password:
Last login: Wed Mar 15 00:40:33 2017 from cpc35-wals10-2-0-cust166.16-1.cable.virginmedia.com
[root@centos-2gb-lon1-01 ~]# npm cache clean
][root@centos-2gb-lon1-01 ~]# ]
-bash: ]: command not found
[root@centos-2gb-lon1-01 ~]# npm cache clean
[root@centos-2gb-lon1-01 ~]# npm i nodebb-plugin-registration-notification
npm http GET https://registry.npmjs.org/nodebb-plugin-registration-notification
npm http 200 https://registry.npmjs.org/nodebb-plugin-registration-notification
npm http GET https://registry.npmjs.org/nodebb-plugin-registration-notification/-/nodebb-plugin-registration-notification-1.1.0.tgz
npm http 200 https://registry.npmjs.org/nodebb-plugin-registration-notification/-/nodebb-plugin-registration-notification-1.1.0.tgz
[email protected] node_modules/nodebb-plugin-registration-notification
[root@centos-2gb-lon1-01 ~]# -
@julian I've tried downloading it another way via FileZilla.. i have had a look at the Node_Modules folder which shows the Plugin (But none of the other plugins I have installed from the ACP? Something is very weird)
Also although plugin shows in this folder, its not in the Active, Inactive or Find Plugins menus
-
@MBFTOM You've installed it at the wrong location. It's installed in your root directory, whereas you should install it in the directory of the NodeBB installation (that is, where the starter script is also located). When you run "npm install [pluginname]" there, it'll work
Good luck!
-
@JasperNL thanks for that, now I know where I went wrong
Are you free to assist with where I find the Directory of the NodeBB install? Eg what folder I am looking for?
Forgive me if that's a noob question, I've not messed with anything like this before
Thanks @JasperNL
EDIT: Found it! Great assistance