An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(deployment): add warning for NIXPACKS_NODE_VERSION in node configurations
Andras Bacsai981f46c4064b
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex fafcdb6186..dfc91e9a99 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -1988,6 +1988,16 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueueif ($this->nixpacks_type === 'elixir') {$this->elixir_finetunes();}+ if ($this->nixpacks_type === 'node') {+ // Check if NIXPACKS_NODE_VERSION is set+ $variables = data_get($parsed, 'variables', []);+ if (! isset($variables['NIXPACKS_NODE_VERSION'])) {+ $this->application_deployment_queue->addLogEntry('----------------------------------------');+ $this->application_deployment_queue->addLogEntry('⚠️ NIXPACKS_NODE_VERSION not set. Nixpacks will use Node.js 18 by default, which is EOL.');+ $this->application_deployment_queue->addLogEntry('You can override this by setting NIXPACKS_NODE_VERSION=22 in your environment variables.');+ $this->application_deployment_queue->addLogEntry('----------------------------------------');+ }+ }$this->nixpacks_plan = json_encode($parsed, JSON_PRETTY_PRINT);$this->nixpacks_plan_json = collect($parsed);$this->application_deployment_queue->addLogEntry("Final Nixpacks plan: {$this->nixpacks_plan}", hidden: true);