Hello, wanted to say that I'm struggling a little ...
# support-questions-legacy
g
Hello, wanted to say that I'm struggling a little running the user roles recipe on Safari (works on Chrome) due to line 47 of logger.js: "return errorStack[i].match(/(?<=\().+?(?=\))/g);". This kind of regular expression is not supported in Safari and gives a "SyntaxError: Invalid regular expression: invalid group specifier name". Are there any fixes for this so that I could run my webite on Safari? Edit: logger.js is at supertokens-node/lib/build/logger.js
r
Hey! Can you open an issue about this on our repo? We can fix this.
Also, the user roles recipe is something thats a backend thing - how is that causing issues on the frontend?
g
Great point! I believe I have messed up my import statements in my Next.js files! Hopefully sorting this out will fix the issue! Thank you!
r
cool
4 Views