개발(Web)/Web

[Node.js] Error: Cannot find module 'cors'

shinyelee 2021. 2. 25. 19:37

Error: Cannot find module 'cors'

구글링 ㄱㄱ


방법 1. cors 설치

 

Error: Cannot find module 'cors'

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? `kimeric@pal-nat186-87-...

stackoverflow.com

npm install cors --save를 입력하면 설치 끝
추가된 걸 확인할 수 있으며, 해당 문구도 뜨지 않음

반응형