Confirm compatibility with Node 8.x
This commit is contained in:
1 parent
b38b3cf5ab
commit
3ebc249ffa
3 files changed
+9
-3
No files matched your search
@@ -20,9 +20,12 @@ Install [Node.js](http://nodejs.org/) and [MongoDB](http://www.mongodb.org/).
|
||||
Refer to their corresponding documentation for installation instructions. The
|
||||
supported versions are:
|
||||
|
||||
- Node.js: 6.x and 7.x (7.x recommended)
|
||||
- Node.js: 6.x and 8.x (8.x recommended)
|
||||
- MongoDB: 2.6 through 3.4
|
||||
|
||||
Install build tools and libxml2 development files from your system's package
|
||||
manager.
|
||||
|
||||
Then install GenieACS using NPM:
|
||||
|
||||
npm install -g genieacs
|
||||
@@ -35,6 +38,9 @@ Alternatively, you can install from source by cloning the git repository:
|
||||
npm install
|
||||
npm run compile
|
||||
|
||||
Before proceeding, find and review the file "config.json" in "config" directory
|
||||
where GenieACS is downloaded.
|
||||
|
||||
Finally, run the following (from bin directory if installing from source):
|
||||
|
||||
genieacs-cwmp
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ const VERSION = require("../package.json").version;
|
||||
function getDependencyVersions() {
|
||||
let dependencies = [`node@${process.versions.node}`];
|
||||
try {
|
||||
let npmls = JSON.parse(require("child_process").execSync("npm ls --prod --json"));
|
||||
let npmls = JSON.parse(require("child_process").execSync("npm ls --prod --json --depth 0"));
|
||||
|
||||
for (let k in npmls.dependencies)
|
||||
dependencies.push(`${k}@${npmls.dependencies[k].version}`);
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@
|
||||
"coffeescript": "^1.12.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.9.2 <8.0"
|
||||
"node": ">=6.9.2 <9.0"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublish": "npm run compile",
|
||||
|
||||
Reference in new issue
Block a user