I have a simple react component with a form in it:
var AddAppts = React.createClass({
handleClick:
None of the given solutions worked for me, though they certainly helped show me where to look.
For some reason my project has two node_modules folders - one in the root directory and one a level up. I'm new to React so I don't know if this is normal or what. I'm just going with what Visual Studio gave me when I started a new project.
Anyway, I knew which module was causing the problem, and it happened to only exist in one of the node_modules folders.
I moved the problem module over to the other node_modules folder. Problem solved.