https://stackoverflow.com/help/minimal-reproducible-example
add the `package.json` file to your question.
Try to create a minimal runnable demo project, such as on `codesandbox`.
Please trim your code to make it easier to find your problem.
Follow these guidelines to create a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example).
https://www.cnblogs.com/xgqfrms/p/9993892.html#5217023