issues installing Nodebb on Debian 8
-
You skipped the step
npm install
-
Oh thanks. I get this error tho
npm ERR! install Couldn't read dependencies
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v0.12.9
npm ERR! npm v2.14.9
npm ERR! path /root/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno -2npm ERR! package.json ENOENT, open '/root/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log -
Do it inside the
nodebb
directory. -
@jkyjky said:
Based on the error log you posted... you ran
npm install
in the /root folder instead of in /root/nodebbnpm ERR! path /root/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno -2npm ERR! package.json ENOENT, open '/root/package.json'
-
I did
cd nodebb
. Here's the npm debug file http://pastebin.com/kPEy6jnM -
Got it installed! Had installed
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - sudo apt-get install -y nodejs
within the nodebb dir then ran npm install.Nodebb doesn't show up at my server ip? I read that Debian comes with NgInx already.. I didn't install the dotDAB.
-
This might be just me, but I wouldn't be loading that under root directory. Create a new user and use that for nodebb location under home location. As to nodebb not showing up. What does your nodebb config, and nginx config look like? I don't know what you mean by debian comes with nginx already. Sure might be in the repo but shouldn't come installed, Unless a script you ran installed it for you.