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

JS version failing on windows #161

@sbc100

Description

@sbc100

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:\\'
}

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions