Skip to content

Commit 55e012b

Browse files
fix(dashboard): Fix detection of node_modules
1 parent a2e3a10 commit 55e012b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dashboard/vite/utils/plugin-discovery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ function guessNodeModulesRoot(vendureConfigPath: string, logger: Logger): string
485485
logger.debug(`Found core URL: ${coreUrl}`);
486486
const corePath = fileURLToPath(coreUrl);
487487
logger.debug(`Found core path: ${corePath}`);
488-
nodeModulesRoot = path.join(path.dirname(corePath), '..', '..');
488+
nodeModulesRoot = path.join(path.dirname(corePath), '..', '..', '..');
489489
} catch (e) {
490490
logger.warn(`Failed to resolve @vendure/core: ${e instanceof Error ? e.message : String(e)}`);
491491
nodeModulesRoot = path.dirname(vendureConfigPath);

0 commit comments

Comments
 (0)