You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node:internal/fs/rimraf:202
throw err;
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Buffer
at new NodeError (node:internal/errors:371:5)
at validateString (node:internal/validators:120:11)
at Object.isAbsolute (node:path:1157:5)
at VirtualFS.mapToBase (/private/tmp/a/.pnp.cjs:6104:24)
at VirtualFS.rmdirSync (/private/tmp/a/.pnp.cjs:5936:39)
at PosixFS.rmdirSync (/private/tmp/a/.pnp.cjs:5936:24)
at URLFS.rmdirSync (/private/tmp/a/.pnp.cjs:5936:24)
at _rmdirSync (node:internal/fs/rimraf:260:21)
at rimrafSync (node:internal/fs/rimraf:193:7)
at node:internal/fs/rimraf:253:9 {
code: 'ERR_INVALID_ARG_TYPE'
}
Self-service
Describe the bug
fs.rmSync does not work with yarn PnP
To reproduce
Got
Environment
Additional context
rmSync is not in
berry/packages/yarnpkg-fslib/sources/patchFs.ts
Line 8 in 8afcaa2
The text was updated successfully, but these errors were encountered: