I have made a widget which works, but cant seem to figure out what i have done wrong in the setting.tsx. And i cant get rid of this error.

Parsing error: C:\Users\pc1\Desktop\arcgis-experience-builder-1.17\ArcGISExperienceBuilder\client\your-extensions\widgets\dmi-weather-widget\src\setting\setting.tsx was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.eslint
In the widget tab it gives me this error,
Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
which corrosponds to : Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: [missing argument].[missing argument].
Anyone that has seen this or something like it before?