puppeteer-sharp
puppeteer-sharp copied to clipboard
Launch puppeteer-sharp in Azure Apps issues
[What you expect to happen]
Actual behavior:
[What actually happens]
Versions
- Which version of PuppeteerSharp are you using? 7.0.0
- Which .NET runtime and version are you targeting? .NET 6.0
Additional Information
System info System up time: -19:40:09.0930000 OS version: Microsoft Windows NT 10.0.14393.0 64 bit system: True 64 bit process: False Processor count: 4 CLR version: 4.0.30319.42000 System directory: C:\Windows\system32 Current working directory: C:\Windows\system32 IIS command line: C:\Windows\SysWOW64\inetsrv\w3wp.exe -ap "~1xxx-dev" -v "v4.0" -a "\.\pipe\iisipm56351c0d-421b-4c61-94e4-18f26d7d33aa" -h "D:\DWASFiles\Sites#1xxx-dev\Config\applicationhost.config" -w "D:\DWASFiles\Sites#1xxx-dev\Config\rootweb.config" -m 0 -t 20 -ta 0 C:\home usage: 62,464 MB total; 61,544 MB free C:\local usage: 500 MB total; 297 MB free
I execute the API in Azure and get the following error:
[ERR] An unhandled exception has occurred while executing the request. (48a46595) System.ComponentModel.Win32Exception (203): The system could not find the environment option that was entered. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at PuppeteerSharp.States.ChromiumStartingState.StartCoreAsync(LauncherBase p) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\States\ChromiumStartingState.cs:line 68
There was no problem running it locally and publishing it to Azure Apps would cause an error. I found the historical problem below. Is there any update on this one? https://github.com/hardkoded/puppeteer-sharp/issues/383