-
Notifications
You must be signed in to change notification settings - Fork 1k
app closes immediately after executing it. #262
Comments
same problem |
At a company this big, the best they could do Is link to an issue, absolutely ridiculous, they didn't even bother to reply |
The issue still happens, and ive tested it on multiple devices |
after updating, now it doesnt even bother to compile..... |
@XFaonAE this package is not maintained by Vercel anymore from a long time, it's maintained by outside collaborators in their free time like me @jesec @erossignon. If you find a bug consider opening a PR and fix it, this is what I do when i find one |
Alright, ill see what I can do |
@robertsLando One issue is that it uses CJS instead of ESM, and when I make my other libraries the paths are no[t absolute, they are relative. I cant just convert this entire package to support ESM. I'm not exactly sure what to do |
It closes too fast before i can see if there's an error. Debugging the pkg process doesn't show anything wrong.
[email protected]
[email protected]
EDIT:
i added this to log any process error
process.on('uncaughtException', function (err) { fs.writeFileSync('log.txt', err); });
and got this:
i get this warning when compiling:
I saw on slack someone with the same problem that used the same code to load an external json file.
i tried this one too:
fs.readFileSync(path.join(path.dirname(process.execPath), 'config.json'))
and didnt work either. any suggestion?The text was updated successfully, but these errors were encountered: