mirror of
https://github.com/grocy/grocy.git
synced 2025-09-18 02:31:44 +00:00
Remove NodeJS dependency check (#745)
This commit is contained in:
@@ -11,7 +11,6 @@ class PrerequisiteChecker
|
||||
self::checkForConfigFile();
|
||||
self::checkForConfigDistFile();
|
||||
self::checkForComposer();
|
||||
self::checkForYarn();
|
||||
self::checkForPhpExtensions();
|
||||
}
|
||||
|
||||
@@ -40,14 +39,6 @@ class PrerequisiteChecker
|
||||
}
|
||||
}
|
||||
|
||||
private function checkForYarn()
|
||||
{
|
||||
if (!file_exists(__DIR__ . '/../public/node_modules'))
|
||||
{
|
||||
throw new ERequirementNotMet('/public/node_modules not found. Have you run Yarn?');
|
||||
}
|
||||
}
|
||||
|
||||
private function checkForPhpExtensions()
|
||||
{
|
||||
$loadedExtensions = get_loaded_extensions();
|
||||
|
Reference in New Issue
Block a user