On which folder should I install plug ins ?
-
npm install nodebb-plugin-dbsearch
After running above command, the site is not loading at all. I used home/nodebb/nodebb . Kitchen sink got installed and I activated it from ACP. Nothing happened though. Then I tried above command now I cannot access neither front end nor ACP.
-
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