js-md5
js-md5 copied to clipboard
Doesn't work correctly in Electron
Some NativePHP users are experiencing this issue via Filament, an open source component library and admin panel solution for Laravel.
It seems that under Electron, this check returns true when it's not expected to:
var NODE_JS = !root.JS_MD5_NO_NODE_JS && typeof process === 'object' && process.versions && process.versions.node;
Is there something you could do to fix this? Or is there maybe a build option on the Filament side that might help?
Try to set global.JS_MD5_NO_NODE_JS = true before require js-md5. global may have a different name in your environment.
Thanks! I believe this is working for folks 👍🏼