1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 06:32:36 +01:00

npm run build on Windows with usernames containing spaces fails, fixed by escaping tsc.js location in node_modules

This commit is contained in:
Maddy 2021-10-12 16:14:37 +11:00
parent 5dc22333e7
commit f749aea51a

View File

@ -34,9 +34,9 @@ console.log("Compiling src files ...");
console.log( console.log(
execSync( execSync(
"node " + "node \"" +
path.join(__dirname, "..", "node_modules", "typescript", "lib", "tsc.js") + path.join(__dirname, "..", "node_modules", "typescript", "lib", "tsc.js") +
" -p " + "\" -p " +
path.join(__dirname, ".."), path.join(__dirname, ".."),
{ {
cwd: path.join(__dirname, ".."), cwd: path.join(__dirname, ".."),