mirror of
https://github.com/grocy/grocy.git
synced 2025-04-28 17:23:56 +00:00
Remove NodeJS dependency check (#745)
This commit is contained in:
parent
1cb0ba5e68
commit
b2dbc64f29
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user