Open suptejas opened 3 years ago
That's most likely because there's a symlink somewhere in that tarball and this crate is trying to create a symlink but symlinks are weird on Windows. I don't know how other languages handle this but it could probably be implemented here, but would need some investigation.
Sounds good! I posted the link to the tgz in the message on my issue so hopefully that could be used for debugging
Python's tarfile
extractall
copies the file instead of symlinking.
I'm trying to extract
https://registry.npmjs.org/swot-node/-/swot-node-2.0.173.tgz
on Windows and I get this error while calling.unpack()
.I've tried equivalent code in Python, Javascript and Golang, and they all seem to work fine.
Hope to get a bit of help with this! Thank you!