Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default project 'dotnet react' is not working #13706

Open
jghantasala opened this issue Nov 16, 2024 · 1 comment
Open

Default project 'dotnet react' is not working #13706

jghantasala opened this issue Nov 16, 2024 · 1 comment

Comments

@jghantasala
Copy link

Just created project and executing test run.

Created Project using Visual Studio Code
Create command: 'dotnet new react'
Run command: dotnet run
TargetFramework: net6.0
Nove Version: v22.11.0
npm version: 10.9.0

Error: Microsoft.AspNetCore.SpaProxy.SpaProxyMiddleware[0]
SPA proxy is not ready. Returning temporary landing page.

[email protected] prestart

node aspnetcore-https && node aspnetcore-react

There was an error exporting the HTTPS developer certificate to a file. Please create the target directory before exporting. Choose permissions carefully when creating it.

@James-Hou22
Copy link

I was able to reproduce this issue using the given versions and I manually generated my own https certificate and it also seemed to work. I can try and take a poke around as to why it's not automatically generated, but before I do that I wanted to say that .NET 6.0's support ended on November 12th, 2024. I assume that's after this issue was created, but I thought that would be important to note. That being said, I reran my project with .NET 8.0 and it seems to handle certificate generation automatically and correctly. Before I take a look around, is upgrading your .NET version something that you can consider? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants