Error on JavaScript Action creating a JWT Token using crypto-js and jsrsasign *** SOLVED ***
5
Hi Mendix Community, I am having a problem on a JavaScript action I have created. Please forgive me if it is obvious but my JavaScript skills are somewhat limited. I am getting the following error and I have no idea where to look or what to do to fix it. "crypto_js__WEBPACK_IMPORTED_MODULE_2__.CryptoJS is undefined" I have npm installed crypto-js and jsrsasign in the folder where the JavaScript Action was created Location of the JavaScript files and the code below. Thanks in advance. *** EDIT *** In the end it was a cache issue, had to clear my cache and cookies to get it to work.