I was following the instructions on NodeBBDocs when after the very last steps, nothing happened. It stopped where the instructions below stop. This made me worried, so I restarted the connection and did
npm start. It gave me errors :
Last login: Wed Mar 23 14:17:27 2016 from xx2.1x5.xx0.1xx
root@d191c985971e:~# npm start
npm ERR! Linux 3.19.8-031908-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.4.0
npm ERR! npm v2.14.20
npm ERR! path /root/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/root/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log
Installation Guide - Error occurred where the guide finishes.
The following installation guide is optimised for Ubuntu LTS versions, and will install NodeBB with MongoDB as the data store. Currently at the time of writing, the latest available Ubuntu LTS version is 14.04.
First, install the LTS version of Node.js (v4.2 Argon):
$ curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
Next, we’ll install the dependencies required by NodeBB
$ sudo apt-get install -y git nodejs mongodb build-essential
If you want to use Redis or another database instead of MongoDB please look at the Configuring Databases section.
Next, clone NodeBB into your desired location. If you don’t know where, your home directory is acceptable:
$ cd ~ # Optional $ git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git nodebb
You’ll want to replace v1.0.0 with the (latest stable version), or v1.x.x if you’d like to set up the latest weekly build of NodeBB.
Obtain all of the dependencies required by NodeBB:
$ cd nodebb $ npm install --production
Start the NodeBB Web Installer, and continue setup at http://127.0.0.1:4567, and select “MongoDB” as your database type.
$ npm start
---Error Occurred here---
Please assist me within 24 hours on how to fix.