You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling an application to exe using nexe, I started getting an error in filesystem/resolvePath:
TypeError: Cannot read property 'filename' of undefined
The line is this:
var root = path.dirname(require.main.filename);
Maybe nexe gets rid of require.main or something. In any case, it seems that the value of root isn't actually used anyway, so I'm wondering if EJS could be updated with this line gone? I've patched the file temporarily and it seems to work fine without it.
Thanks for the library!
The text was updated successfully, but these errors were encountered:
When compiling an application to exe using nexe, I started getting an error in filesystem/resolvePath:
The line is this:
Maybe nexe gets rid of require.main or something. In any case, it seems that the value of root isn't actually used anyway, so I'm wondering if EJS could be updated with this line gone? I've patched the file temporarily and it seems to work fine without it.
Thanks for the library!
The text was updated successfully, but these errors were encountered: