mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-13 06:02:39 +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