Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Can't run the setup from dotnet new reactredux

$
0
0

After doing:

dotnet new reactredux

dotnet restore

dotnet run

I get this error:

ERROR in [at-loader] ./ClientApp/components/Layout.tsx:13:21
    TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<NavMenu> & { children?: ReactNode; } & void'.
  Type '{}' is not assignable to type 'void'.

Switching to VS Code and running from VS Code's debug launcher gives error message:

Could not find the "preLaunchTask": "build",

So being a newbie at learning .NET Core, I need some help just to get started.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>