0

I am trying to run a code that has require() function in it. I get the following error:

Uncaught ReferenceError: require is not defined

I have search online and I realized this is a NodeJS function. How can I find the file in NodeJS and can I solve the problem by simply putting the NodeJS file in my project folder?

iBM
  • 165
  • 1
  • 16

0 Answers0