ReferenceError: _createSuper is not defined

development environment:
win7
“react”: “^16.13.1”,
“react-dom”: “^16.13.1”,
“three”: “^0.110.0”,

Today, the project suddenly exploded with startup.
I only changed the location of the whole project folder, but nothing else.

If i put it back to its original position, and start will not report an error.
If i put it in another folder, the error will still be reported when i start.
It’s so strange that I didn’t find out the cause after searching for a long time.

This is my code. It refers to threejs.

I delete nodes and NPM install again, but it doesn’t work.

And if I block the code in the threejs section, it will be ok.

Please, how to solve this problem.

There is no _createSuper function in three. I think this is a Babel problem, I found this issue:

It’s a problem somewhere in your webpack/babel/react setup, and not something we can help you with here.

@seanin - long shot, but did you ever figure this out?
I’m getting the same weird behavior after splitting up the repo and moving it to a different folder

Finally, I used the latest react scaffold(create react app) to solve this problem.