Pluggable Widget require error

0
Hi all,  I am diving into custom pluggable widgets. A lot of packages that I'm trying to install give the same error: "Require is not defined". I know why this is and where it comes from but I can't find any solution to this. The packages I'm trying to install are all React supported but just not in Mendix. I'm on version 10.24.11. Anyone has any ideas?
asked
1 answers
0

I did came across this, but I think it got resolved when i upgrade to latest version. 

 

Try one of the below

1. Update tsconfig.json to es6

"module": "esnext","target": "es6"

2. Try searching of "Require" to see whre you find it. 

 

if you are facing, then share .tsx file content. 

answered