diff --git a/INSTALL.md b/INSTALL.md index edd137bf9d..1e4c96b084 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -86,7 +86,7 @@ Compiling Greenbone Security Assistant GUI ------------------------------------------ Prerequisites for using the GUI: -* node.js >= 6.0 +* node.js >= 8.0 * Either yarn or npm. yarn is faster and more reliable, but younger. On Debian Stretch node.js is too old. Follow these steps for a @@ -104,7 +104,7 @@ $ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sour ``` ```sh $ curl --silent --show-error https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add - -$ echo "deb https://deb.nodesource.com/node_6.x jessie main" | sudo tee /etc/apt/sources.list.d/nodesource.list +$ echo "deb https://deb.nodesource.com/node_8.x stretch main" | sudo tee /etc/apt/sources.list.d/nodesource.list ``` ```sh @@ -115,12 +115,6 @@ $ sudo apt-get update $ sudo apt-get install nodejs yarn ``` -When using npm you might need to install the additional nodejs legacy symlink. - -```sh -$ sudo apt-get install nodejs-legacy -``` - Developing Greenbone Security Assistant GUI ------------------------------------------- diff --git a/gsa/CMakeLists.txt b/gsa/CMakeLists.txt index 6bc19406e5..7b02288218 100644 --- a/gsa/CMakeLists.txt +++ b/gsa/CMakeLists.txt @@ -23,7 +23,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -find_package (Node 6.0 REQUIRED) +find_package (Node 8.0 REQUIRED) find_package (Yarn QUIET) set (GSA_BUILD_DIR ${CMAKE_CURRENT_SOURCE_DIR}/build) diff --git a/gsa/package.json b/gsa/package.json index 5f9708edf1..3bbf150ab8 100644 --- a/gsa/package.json +++ b/gsa/package.json @@ -16,6 +16,9 @@ "author": "Björn Ricks ", "license": "GPL-2.0+", "main": "src/index.js", + "engines": { + "node" : ">=8.0" + }, "eslintConfig": { "extends": "react-app" },