Require is undefined in javascript
MikeJMS8910

I am trying to set up express and I downloaded node.js, npm, and all of the things that I would need for it. But when I do const express = require('express') I get the error request is undefined. I have been searching the internet for the past 3 hours but nothing works and I keep getting the same error. How can I fix this?

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer
Coder100