question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Playwright.InstallAsync(): Permission denied

See original GitHub issue

Recently back into the dotnet space so hopefully an easy fix on my part. Occurring on local mac osx

Console.WriteLine("Installing playwright");
await Playwright.InstallAsync();
System.ComponentModel.Win32Exception: Permission denied

System.ComponentModel.Win32Exception
Permission denied
   at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at PlaywrightSharp.Transport.Connection.InstallAsync() in C:\source\personal\playwright-sharp\src\PlaywrightSharp\Transport\Connection.cs:line 67
   at Tests.Integration.UnitTest1.InitializeAsync() in UnitTest1.cs:line 16
   at Xunit.Sdk.TestInvoker`1.<RunAsync>b__47_0() in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 201
   at Xunit.Sdk.ExceptionAggregator.RunAsync[T](Func`1 code) in C:\Dev\xunit\xunit\src\xunit.core\Sdk\ExceptionAggregator.cs:line 107

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
kblokcommented, Oct 6, 2020

We just shipped v0.142.0. Could you try that version?

0reactions
kblokcommented, Oct 6, 2020

Awesome! @mrgumorist would you mind creating a new issue for your case?

Read more comments on GitHub >

github_iconTop Results From Across the Web

GH Actions: playwright.sh and node: Permission denied #588
Repro step: Step a Python project on GitHub using GH Actions to install playwright-python on the CI machine While running python -m ...
Read more >
Good PageObject Example for PlayWright-Sharp don't ...
This looks like a "duplicate" to a question we received in the Playwright sharp repository. For the sake of completeness, I'll add the...
Read more >
Browsers | Playwright .NET
Each version of Playwright needs specific versions of browser binaries to operate. You will need to use the Playwright CLI to install these...
Read more >
Installation | Playwright .NET
Start by creating a new project with dotnet new . This will create the PlaywrightTests directory which includes a UnitTest1. · Install the...
Read more >
Manifest File - http - Texas Instruments
Software Name Version Modified by TI Node Webkit 0.33.4 No Location Node Webkit 0.33.4 No Obtained from Node.js 14.6.0 No Location
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found