From c73f1c4fc4a0ec63a878e44d2fbc30356122b107 Mon Sep 17 00:00:00 2001 From: yoyo930021 Date: Sun, 13 Dec 2020 15:09:11 +0800 Subject: [PATCH] Fix #2559 --- server/src/services/dependencyService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/services/dependencyService.ts b/server/src/services/dependencyService.ts index cf5f73fde7..b7fbd2bac7 100644 --- a/server/src/services/dependencyService.ts +++ b/server/src/services/dependencyService.ts @@ -28,8 +28,9 @@ export function createNodeModulesPaths(rootPath: string) { unique: true, onlyFiles: false, onlyDirectories: true, + suppressErrors: true, deep: 6, - followSymbolicLinks: false, + followSymbolicLinks: true, ignore: ['**/node_modules/**/node_modules'] });