mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 20:38:12 +08:00
Remove unused frontend npm dependencies (#3935)
* Remove unused frontend npm dependencies * Add a guard on database open
This commit is contained in:
@@ -32,11 +32,7 @@ if (isInstallNeeded()) {
|
||||
console.log("Finished installing npm packages.");
|
||||
} catch (_) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(
|
||||
"\n\n" +
|
||||
"------------------------------------------------------------> " +
|
||||
"Failed to install npm packages. Please delete the `node_modules` folder and run `npm install` from the `/frontend` directory.",
|
||||
);
|
||||
console.error("\n\n--------------------> Failed to install npm packages. Please delete `/frontend/node_modules` then try again.\n\n");
|
||||
process.exit(1);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user