I am quite new to MERN stack, when I installed JsonWebToken it came up with 12 errors relating to 'webpack <5 used to include polyfills for node.js'. I've fixed all the errors but cant fix the cant resolve 'crypto' error.
My code is on github here: https://github.com/Morad17/mern-practice
Thanks in advance