Open xingrz opened 2 years ago
Finally I've fixed the problem. I would like to share my solution.
The issue was brought by hard links:
I've make a test case to reproduce the issue, as well as the solution. Since my fork was refactored far ahead from this project, I'm not going to make a PR.
I also encountered this error.
Is it possible to fix this package to include the patch suggested by @xingrz ?
File:
gcc-arm-none-eabi-9-2020-q2-update-mac.tar.bz2
from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads/9-2020-q2-updateJust did some investigation and found:
https://github.com/kevva/decompress/blob/84a8c1046946add1a6ae01c54dbebf312e4ffc85/index.js#L121
I think
x.linkname
should be joined with theoutput
path. OtherwisefsPromises.symlink
can't find the target.