diff options
author | Maddy <ty.carlier@gmail.com> | 2021-10-12 16:14:37 +1100 |
---|---|---|
committer | Maddy <ty.carlier@gmail.com> | 2021-10-12 16:14:37 +1100 |
commit | f749aea51a4544166d7e8b91a0931a96f9e304a0 (patch) | |
tree | 07f3bd4530129021e47e23b75d6c873c633c80cf | |
parent | Merge pull request #430 from Thesourtimes/master (diff) | |
download | server-f749aea51a4544166d7e8b91a0931a96f9e304a0.tar.xz |
npm run build on Windows with usernames containing spaces fails, fixed by escaping tsc.js location in node_modules
-rw-r--r-- | bundle/scripts/build.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundle/scripts/build.js b/bundle/scripts/build.js index a9798eff..e8eb24b8 100644 --- a/bundle/scripts/build.js +++ b/bundle/scripts/build.js @@ -34,9 +34,9 @@ console.log("Compiling src files ..."); console.log( execSync( - "node " + + "node \"" + path.join(__dirname, "..", "node_modules", "typescript", "lib", "tsc.js") + - " -p " + + "\" -p " + path.join(__dirname, ".."), { cwd: path.join(__dirname, ".."), |