I keep getting this error message below: I tried to find other stackoverflow post and articles but couldn\'t really sovle it. do any of you guys know what the problem is it?
Run npm install cors --save
from the command line in the main project directory to install it and add it to your package.json
It is possible that the cors module was separated from the main express package a long time ago, and the code you are using was written before that. (Or never was a part of it, to begin with)