Webpage with an element called 'process' broke Plasmo framework.

Hello, I faced a weird situation, that the runtime crashed due to an element called 'process' on a webpage. and that caused a undefined error, so all the rest stopped working. How can I solve this? I tried everything on the content script but of coz the runtime executes way before it so it won't work.
No description
No description
No description
1 Reply
Eric Allen
Eric Allen•4mo ago
the globalThis.process pointed to the element instead of the simulation of NodeJs process object, that led to the error.
Want results from more Discord servers?
Add your server