hyextract
hyextract copied to clipboard
TypeError: Cannot read properties of undefined (reading 'find')
Every now and again I get this error when running hyextract but Im not sure the reason, and usually there are many files in the archive folder so I have not been able to narrow down which one seems to cause it.
I also occasionally get errors that look like this: Error: EPERM: operation not permitted, chmod '/usr/local/lib/node_modules/hyextract/node_modules/7zip-standalone/binaries/linux/7z' Code: EPERM › Warning: An error occurred when attempting to unpack this archive, it will be skipped.
looking at 7z it has the correct rights, and it only happens sometimes so Im not sure what causes that ether.
Can you set the environment variable DEBUG
to *
when you run hyextract and provide the output. Looks like you're on Linux so
DEBUG=* hyextract
should work.
You can DM me on Discord or otherwise privately message me if you'd prefer not to share the logs here.
Once I run across another file that gives those errors I will share the logs over discord (I must have deleted the files causing it).