The reason for the error: The import and export syntax of es6 is used incorrectly.
How to use export and import.