Wei Chen

Results comments of Wei Chen

This still happens quite frequently in my CI pipelines with pnpm version 4.14, on Windows 10 and Windows Server machines.

@zkochan this seems regressed in 5.5.1. readPackage is no longer called for workspace root. Is that intentional?

Encountered a new kind of failure just now: ``` Error: EPERM: operation not permitted, rename 'C:\_work\21\s\node_modules\.registry.npmjs.org\@webassemblyjs\wasm-parser\1.4.2\node_modules\@webassemblyjs\_tmp_8_f104fbf47d03cc225f36a0d94f262dc7' -> 'C:\_work\21\s\node_modules\.registry.npmjs.org\@webassemblyjs\wasm-parser\1.4.2\node_modules\@webassemblyjs\wasm-parser' ```

@zkochan when these error happens pnpm doesn't seem to produce a `pnpm-debug.log` in the current working folder. And these error seems only occasionally happens in our CI machines. Do you...

The second case smells like a file system race condition. `stage` should indeed exist on the disk at line 13. Out of few hundreds CI run the second case only...

Hi @zkochan I can confirm that when this happens, `pnpm` is not running with `shamefully-flatten`

Just to add some information, out of the ~120 CI runs that failed, it looks like the issue always happen when `pnpm` trying to operate on `@webassemblyjs\wasm-parser`. I am not...

When this happens there seems to be no `pnpm-debug.log` file generated. The CI machines always start from a clean slate with fixed nodejs version (8.11.1) and pnpm version (2.0.0) and...

@zkochan Thanks for the suggestion. I tested couple of versions, with 2.16.2 (latest). It consistently fail with a `pnpm-debug.log` file produced and always fail with the same package (enzyme) ```...

Thanks for the swift fix @zkochan. 🎉