On which folder should I install plug ins ?
-
Getting this error log when trying to start NodeBB
root@techiewiz:~# npm start
npm ERR! Error: ENOENT, open '/root/package.json'
npm ERR! at Error (native)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issuesnpm ERR! System Linux 3.2.0-4-amd64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! cwd /root
npm ERR! node -v v0.11.13-pre
npm ERR! npm -v 1.4.6
npm ERR! path /root/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0 -
@meetdilip said:
@a_5mith said:
What happens when you do
cd home/nodebb/nodebb
?root@techiewiz:~# cd home/nodebb/nodebb
-bash: cd: home/nodebb/nodebb: No such file or directoryIf you do
cd home/something/something
he will first try to look for the folder home, so if you're not in the root it won't find that folder, you need to had this / before home so he can start looking for that folder in the root, like this:cd /home/nodebb/nodebb
and then do this to disable the plugins./nodebb reset plugins
. -
root@techiewiz:~# npm start
it's actually
./nodebb start
-
@kimikelku said:
@meetdilip said:
@a_5mith said:
What happens when you do
cd home/nodebb/nodebb
?root@techiewiz:~# cd home/nodebb/nodebb
-bash: cd: home/nodebb/nodebb: No such file or directoryIf you do
cd home/something/something
he will first try to look for the folder home, so if you're not in the root it won't find that folder, you need to had this / before home so he can start looking for that folder in the root, like this:cd /home/nodebb/nodebb
and then do this to disable the plugins./nodebb reset plugins
.Life saver. My board is back online. Thanks a lot @kimikelku and others who helped.
-
@psychobunny said:
root@techiewiz:~# npm start
it's actually
./nodebb start
Alternatively, you may use npm start and npm stop to do the same.
Found it here : https://github.com/designcreateplay/NodeBB/wiki/How-to-run-NodeBB
-
@meetdilip You should be at the root if your NodeBB.
That is, if you installed NodeBB into
/home/meetdilip/nodebb
, you shouldcd
into that directory before runningnpm install
:$ cd /home/meetdilip/nodebb $ npm install nodebb-plugin-emoji-extended
-
@julian said:
npm install nodebb-plugin-emoji-extended
Installed and activated successfully. Just that image is not appearing. When I open image in a new tab, it gives 404.
http://techiewiz.in/topic/2/not-able-to-find-smilies-here-it-is#4
-
@meetdilip
Youtube isnpm install nodebb-plugin-youtube
Mandrill isnpm install nodebb-plugin-emailer-mandrill
& there's two image plugins, one that supports uploading directly to imgur.com & embed, and another that will automatically embed an image inline with posts, however i don't think it supports nodebb 0.4.0. It hasn't been updated for a few months.
However the Imgur plugin (which I know works) is
npm install nodebb-plugin-imgur
You can find all plugins on the NodeBB Plugins Page