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:
parent
5dc22333e7
commit
f749aea51a
@ -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, ".."),
|
||||||
|
Loading…
Reference in New Issue
Block a user