SPFx web part can't be used in a modern page
Category
- [x] Bug
Describe the bug
I created a new web part using SPFx. When trying it out on the workbench it works fine. Adding it to a legacy page works fine. The only thing that is giving issues is when I add the web part to a modern page I get this error instead of the working web part.
Steps to reproduce
- Scaffold a new web part using
yo gulp package-solution- Add the package to the sharepoint app catalog
- Add the app to the site collection
- Add the app to a modern page
- Error appears in place of the web part

Expected behavior
A working hello world web part in a modern page.
Developer environment
- OS: Windows 10
- Framework: Node.js v10
- Browser(s): Chrome v79, FireFox v31
- Tooling: VS Code, SPFx
Additional context
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
The more context details you can provide, the easier it is to help assist on issues. Any code you can provide and/or screenshots of the issue also help. The easier you can make it to reproduce the issue, the easier and quicker it is for someone to help you. Please refer to How to Create Good Issues, specifically How to Create Good Issues: Include context, in our wiki for more details.
Unfortunately. we need a LOT more context. What version of SPFx are you using, any other details about the error, what environment you're using, etc.. Also consider posting your project to a public github repo and sharing a link to it
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within the next 7 days of this comment. Please see our wiki for more information: Issue List Labels: Needs Author Feedback & Issue List: No response from the original issue author
Closing issue due to no response from the original author. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: No response from the original issue author