Create asar fails for nested empty directories: Cannot read property 'files' of undefined
#245
Labels
Cannot read property 'files' of undefined
#245
Version: 3.2.0
This can be easily reproduced by having a folder structure below:
This is notably a big issue as it also causes #144, where scoped modules are often a "double-stack" of folders, the scope being an empty root folder for the
package
subfolderI'm using
asar
programmatically. With the above folder structure, I'm simply doing:For my project, I do have the ability to change the file/folder structure. But we're fully blocked when it comes to scoped node_modules
Stacktrace:
The text was updated successfully, but these errors were encountered: