You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The url of the link in the post is wrong. I had to use the text of the link. I am using VS 17.4.3 and it seems the quotes haven't made it yet in the template.
This is a known issue and the fix has already been merged into the official Microsoft Repo.
dotnet/spa-templates#35
The path needs to be wrapped in quotes:
--ssl-cert changes:
--ssl-cert %APPDATA%\\ASP.NET\\https\\%npm_package_name%.pem
becomes
--ssl-cert \"%APPDATA%\\ASP.NET\\https\\%npm_package_name%.pem\"
--ssl-key changes:
--ssl-key %APPDATA%\\ASP.NET\\https\\%npm_package_name%.key
become
--ssl-key \"%APPDATA%\\ASP.NET\\https\\%npm_package_name%.key\"
NOTICE: you end up with double quotes at the end of the line! This is correct.
"start": "ng serve --ssl --ssl-cert \"%APPDATA%\\ASP.NET\\https\\%npm_package_name%.pem\" --ssl-key \"%APPDATA%\\ASP.NET\\https\\%npm_package_name%.key\"",
The text was updated successfully, but these errors were encountered: