This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Description
It looks like the version of mkDirByPathSync from https://stackoverflow.com/a/40686853/1211524 need to be updated if it is to work on windows. Right now we are seeing:
Error: EPERM: operation not permitted, mkdir 'C:\'
at Object.mkdirSync (fs.js:806:3)
at C:\b\s\w\ir\k\install\emscripten\node_modules\google-closure-compiler\cli.js:32:10
at Array.reduce (<anonymous>)
at mkDirByPathSync (C:\b\s\w\ir\k\install\emscripten\node_modules\google-closure-compiler\cli.js:29:24)
at C:\b\s\w\ir\k\install\emscripten\node_modules\google-closure-compiler\cli.js:179:13
at Array.forEach (<anonymous>)
at C:\b\s\w\ir\k\install\emscripten\node_modules\google-closure-compiler\cli.js:178:32 {
errno: -4048,
syscall: 'mkdir',
code: 'EPERM',
path: 'C:\\'
}