diff --git a/nodejs/nodejs.install b/nodejs/nodejs.install
index 1b00bfa..e438473 100644
--- a/nodejs/nodejs.install
+++ b/nodejs/nodejs.install
@@ -48,7 +48,7 @@ function nodejs_requirements($phase) {
     return [];
   }
 
-  $nodejs = !\Drupal::service('nodejs.nodejs');
+  $nodejs = \Drupal::service('nodejs.nodejs');
   $value = t('The Node.js server was successfully reached.');
   $severity = REQUIREMENT_OK;
   if (!$nodejs->healthCheck()) {
diff --git a/nodejs/src/Nodejs.php b/nodejs/src/Nodejs.php
index 0c2d3c4..c1f5420 100644
--- a/nodejs/src/Nodejs.php
+++ b/nodejs/src/Nodejs.php
@@ -78,7 +78,7 @@ public function sendMessages() {
     $this->queuedMessages = [];
   }
 
-  protected function safeNodeServerVerion() {
+  public function safeNodeServerVerion() {
     if ($this->nodeServerVersion === NULL) {
       $this->healthCheck();
     }
