-
Notifications
You must be signed in to change notification settings - Fork 129
Closed
Description
When i unzip this file 12381.zip like this
const extractZip = require('extract-zip')
extractZip("C:\\Users\\wjdl\\Downloads\\12381.zip",{
dir:"C:\\Users\\wjdl\\AppData\\Roaming\\Test\\cache\\mods\\temp\\12345678901234567890123456789012345678901234"
}).then(res=>{
console.log(res)
},err=>{
console.log(err)
})I got an error
[Error: ENOENT: no such file or directory, realpath 'C:\Users\wjdl\AppData\Roaming\Test\cache\mods\temp\12345678901234567890123456789012345678901234\No Crafting Requirements (Fluffy Selective Install) (GamePass)\Weapons (Forge-Upgrade-Layer, Ignore Unlock Flags)\natives\MSG\data\Define\Player\Weapon\InsectGlaive'] {
errno: -4058,
code: 'ENOENT',
syscall: 'realpath',
path: 'C:\\Users\\wjdl\\AppData\\Roaming\\Test\\cache\\mods\\temp\\12345678901234567890123456789012345678901234\\No Crafting Requirements (Fluffy Selective Install) (GamePass)\\Weapons (Forge-Upgrade-Layer, Ignore Unlock Flags)\\natives\\MSG\\data\\Define\\Player\\Weapon\\InsectGlaive'
}But when i edit the dir path to “C:\Users\wjdl\AppData\Roaming\Test\cache\mods\temp\1234567890123456789012345678901234567890123”,The error is gone,i wonder why that is.
Metadata
Metadata
Assignees
Labels
No labels