mirror of
https://github.com/grocy/grocy.git
synced 2025-09-30 11:25:03 +00:00
Remove NodeJS dependency check (#745)
This commit is contained in:
@@ -11,7 +11,6 @@ class PrerequisiteChecker
|
|||||||
self::checkForConfigFile();
|
self::checkForConfigFile();
|
||||||
self::checkForConfigDistFile();
|
self::checkForConfigDistFile();
|
||||||
self::checkForComposer();
|
self::checkForComposer();
|
||||||
self::checkForYarn();
|
|
||||||
self::checkForPhpExtensions();
|
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()
|
private function checkForPhpExtensions()
|
||||||
{
|
{
|
||||||
$loadedExtensions = get_loaded_extensions();
|
$loadedExtensions = get_loaded_extensions();
|
||||||
|
Reference in New Issue
Block a user