From d6e75043b957aa838f445b05b29731ad11cb2d66 Mon Sep 17 00:00:00 2001 From: Jonathan Visser Date: Thu, 10 Apr 2025 11:55:36 +0200 Subject: [PATCH 1/3] Add note for using a pre-compiled older nodejs version --- .../applications/config-for-nextjs.md | 2 +- .../tools/how-to-use-node-js-and-npm-on-hypernode.md | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/hypernode-deploy/applications/config-for-nextjs.md b/docs/hypernode-deploy/applications/config-for-nextjs.md index 0b96bffb..3a2a1aa9 100644 --- a/docs/hypernode-deploy/applications/config-for-nextjs.md +++ b/docs/hypernode-deploy/applications/config-for-nextjs.md @@ -1,7 +1,7 @@ # Config for NextJS ```{note} -NextJS is not officially supported on the Hypernode Platform. So please use this at your own risk,. +NextJS is not officially supported on the Hypernode Platform. So please use this at your own risk. ``` Configuration to use as Hypernode Deploy deploy.php for a NextJS webserver application: diff --git a/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md b/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md index 02b832a8..45ccea4b 100644 --- a/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md +++ b/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md @@ -96,12 +96,17 @@ npm install yarn ## Using an unsupported Node.js version + +```{note} +Installing and using unsupported Node.js versions is no longer supported on the Hypernode Platform. We strongly advise against using unsupported versions, as we cannot provide any assistance or guarantee compatibility. +``` + If you want to use a more recent version, it is very easy to install the latest version of Node.js yourself. -NodeJs offers [precompiled packages on their website](https://nodejs.org/en/) that are ready to use on your Hypernode. +NodeJs offers [precompiled packages on their website](https://nodejs.org/en/) that are ready to use on your Hypernode. All we need to do is download and unpack them to make use of node and npm and install your own node modules. -In this example we use version v14.17.6 but the installation process is the same when using older or newer versions. +In this example, we use version v14.17.6, but the installation process is the same when using older or newer versions. - First, create the directory where we will unpack Node.js: ```bash @@ -127,4 +132,4 @@ Both the installations (the already installed or the precompiled self-downloaded ## Troubleshooting -- When using npm search, so much memory is used that on smaller Hypernode plans, your shell will get killed, and you’ll be automagically logged out of your Hypernode due to our out of memory protection. +- When running `npm search`, the command may consume a significant amount of memory. On smaller Hypernode plans, this can trigger our out-of-memory protection, causing your shell session to be terminated and resulting in an automatic logout from your Hypernode. From 2115c597819e11c7f6f03d48020444c847e05f64 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 10 Apr 2025 11:56:52 +0200 Subject: [PATCH 2/3] Update docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../tools/how-to-use-node-js-and-npm-on-hypernode.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md b/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md index 45ccea4b..cad11d42 100644 --- a/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md +++ b/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md @@ -96,7 +96,6 @@ npm install yarn ## Using an unsupported Node.js version - ```{note} Installing and using unsupported Node.js versions is no longer supported on the Hypernode Platform. We strongly advise against using unsupported versions, as we cannot provide any assistance or guarantee compatibility. ``` From ad10dcbbc9daed0474bac1cdb266d9f8adb3afeb Mon Sep 17 00:00:00 2001 From: Jonathan Visser Date: Thu, 10 Apr 2025 11:58:48 +0200 Subject: [PATCH 3/3] Remove extra characters on EOL --- .../tools/how-to-use-node-js-and-npm-on-hypernode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md b/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md index cad11d42..6c28ab96 100644 --- a/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md +++ b/docs/hypernode-platform/tools/how-to-use-node-js-and-npm-on-hypernode.md @@ -102,7 +102,7 @@ Installing and using unsupported Node.js versions is no longer supported on the If you want to use a more recent version, it is very easy to install the latest version of Node.js yourself. -NodeJs offers [precompiled packages on their website](https://nodejs.org/en/) that are ready to use on your Hypernode. +NodeJs offers [precompiled packages on their website](https://nodejs.org/en/) that are ready to use on your Hypernode. All we need to do is download and unpack them to make use of node and npm and install your own node modules. In this example, we use version v14.17.6, but the installation process is the same when using older or newer versions.