documentation should say "do not put spaces in your home directory"
Hook 'vpython.bat src/electron/script/apply_all_patches.py src/electron/patches/config.json' took 15669.14 secs
subprocess2(154) __init__:python3 src/electron/script/update-external-binaries.py; cwd=C:\src\electron
________ running 'python3 src/electron/script/update-external-binaries.py' in 'C:\src\electron'
Downloading https://electron-build-tools.s3-us-west-2.amazonaws.com/build-dependencies/b6a20fd1c2026f3792e7286bc768a7ebc261847b76449b49f55455e1f841fecd/sccache-win32-x64.zip to C:\Users\NICOLE~1\AppData\Local\Temp\electron-xzab9lsb\sccache-win32-x64.zip
Download sccache-win32-x64.zip 4151947 [103798675.0%]
Hook 'python3 src/electron/script/update-external-binaries.py' took 11.25 secs
subprocess2(154) __init__:vpython.bat -c import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["python", "script/lib/npx.py", "[email protected]", "install", "--frozen-lockfile"]);; cwd=C:\src\electron
________ running 'vpython.bat -c import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["python", "script/lib/npx.py", "[email protected]", "install", "--frozen-lockfile"]);' in 'C:\src\electron'
Error: EPERM: operation not permitted, mkdir 'C:\Users\Nicole'
Error: EPERM: operation not permitted, mkdir 'C:\Users\Nicole'
This is weird given it's supposedly init'ing in 'C:\src\electron
Is there any more of a trace where that error comes from / what script?
Kind of; unfortunately, I can't redirect to a file, or I get a different error, but here's the amount I could copy from the backlog: https://gist.github.com/strega-nil/3fbd34423486a1073d6c5d87044940ca
@strega-nil If you run npx yarn --version on your system, what happens?
I had the latest version from npm. Unfortunately, I just reinstalled windows, and my home directory no longer contains a space; I'll have to add a new user that does have a space in the home directory for future debugging.
This topic came up today at the Electron Summit when discussing build-tools, and the consensus was that the edge cases that come from this extend into gn and may be outside of the scope of this repo to fix.
So we're probably not going to fix this, but we should add a warning somewhere e.g. in the README