I try to run default ASP.NET 6 angular project template and unfortunately npm start fails by exception
"start:windows": "ng serve --port 8001 --ssl --ssl-cert %APPDATA%\\ASP.NET\\https\\${npm_package_name}.pem --ssl-key %APPDATA%\\ASP.NET\\https\\${npm_package_name.key}",
An unhandled exception occurred: ENOENT: no such file or directory, open 'C:\Users\ffres\Documents\GitHub\NFTMarketPlace\MarketPlace\MarketPlace\ClientApp\%APPDATA%\ASP.NET\https\${npm_package_name}.key'
But weirdly if i remove --ssl-cert parameter, it works fine. Surely i need -ssl-cert parameter as well.
"start:windows": "ng serve --port 8001 --ssl --ssl-key %APPDATA%\\ASP.NET\\https\\${npm_package_name}.key"
I can't use absolute full path in here so i need to use AppData and npm_package_name variables in path.
Can someone help me ?