ERR: Operation no permited, Windows 10
Unanswered
Brown bear posted this in #help-forum
Brown bearOP
I switched the project from yarn to bun and now when i run bun run dev i have a lots of error with this simmilar message:
[Error: EPERM: operation not permitted, rename 'C:\Users\Tomy\Desktop\ZX\blkweb.next\build-manifest.json.tmp.havd2cze33j' -> 'C:\Users\Tomy\Desktop\ZX\blkweb.next\build-manifest.json'] {
errno: -4048,
code: 'EPERM',
syscall: 'rename',
path: 'C:\Users\Tomy\Desktop\ZX\blkweb\.next\build-manifest.json.tmp.havd2cze33j',
dest: 'C:\Users\Tomy\Desktop\ZX\blkweb\.next\build-manifest.json'
}
[Error: EPERM: operation not permitted, rename 'C:\Users\Tomy\Desktop\ZX\blkweb.next\build-manifest.json.tmp.havd2cze33j' -> 'C:\Users\Tomy\Desktop\ZX\blkweb.next\build-manifest.json'] {
errno: -4048,
code: 'EPERM',
syscall: 'rename',
path: 'C:\Users\Tomy\Desktop\ZX\blkweb\.next\build-manifest.json.tmp.havd2cze33j',
dest: 'C:\Users\Tomy\Desktop\ZX\blkweb\.next\build-manifest.json'
}
6 Replies
Sun bear
instead of running:
try:
bun installtry:
bun.exe installbefore trying this you can also try upgrading to the latest version of bun and then running the normal command.
bun upgrade --canaryRussian Blue
oh no i hope you don't have to do that for it to work
Sun bear
just try this:
bun upgrade --canaryI read somewhere that it is patched in newer versions
Russian Blue
In this case, the
It is strange that this works when using yarn though. Usually this kind of issue is related to anti-virus software
EPERM is happening in Node and not in Bun (Bun doesn't print [Error: EPERM this way)It is strange that this works when using yarn though. Usually this kind of issue is related to anti-virus software