From 6533d46465bf71862c85fde8e2c5ef553db06bd7 Mon Sep 17 00:00:00 2001 From: Logan Ramos Date: Tue, 10 Aug 2021 15:13:27 -0400 Subject: [PATCH] Fix case where out/vs doesn't exist --- build/npm/postinstall.js | 1 + 1 file changed, 1 insertion(+) diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js index 4fa33a33138..c503104eb37 100644 --- a/build/npm/postinstall.js +++ b/build/npm/postinstall.js @@ -116,6 +116,7 @@ function buildWebNodePaths() { // Now we write the node paths to out/vs const outDirectory = path.join(root, 'out', 'vs'); + fs.mkdirSync(outDirectory, { recursive: true }); const headerWithGeneratedFileWarning = `/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information.