My current project involves using Metronic for React. I've installed the theme and everything is working just fine, including any new pages I've added (or removed) but Visual Studio always shows hundreds of deployment errors.
I tried starting with both yarn and npm. Both work, both produce the same number and type of errors.
such as
SeverityCodeDescriptionProjectFileLineSuppression State
ErrorTS2687(TS) All declarations of 'bigint' must have identical modifiers.reactproject1 JavaScript Content FilesC:\projects\Tutorials\reactproject1\reactproject1\node_modules\@types\node\fs.d.ts2556
or
ErrorTS2717(TS) Subsequent property declarations must have the same type. Property 'select' must be of type 'DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>', but here has type 'DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>'.reactproject1 JavaScript Content FilesC:\projects\Tutorials\reactproject1\reactproject1\node_modules\@types\react\index.d.ts
Hi,
Your case depends on your plugins systems and your configuration in IDE, not sure how we can help you with this. Also, pay attention that your mentioned errors are from node_modules
, try to check all your plugins settings and add node_modules
into all ignore lists.
Regards,
Keenthemes support