hyextract icon indicating copy to clipboard operation
hyextract copied to clipboard

TypeError: Cannot read properties of undefined (reading 'find')

Open ChronoStriker1 opened this issue 1 year ago • 3 comments

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.

ChronoStriker1 avatar Mar 07 '23 14:03 ChronoStriker1

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.

ChronoStriker1 avatar Mar 07 '23 15:03 ChronoStriker1

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.

floogulinc avatar Mar 08 '23 20:03 floogulinc

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).

ChronoStriker1 avatar Mar 09 '23 15:03 ChronoStriker1