<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.35.1]</li>
<li>Operating System: [Windows 10]</li>
<li>Browser: [Chrome]</li>
<li>Other info: Windows Terminal</li>
</ul>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>[Run npm init playwright]</li>
<li>[Error]</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">Configuration to initialize Playwright</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">Error:</p>
<p dir="auto">npm ERR! code ENOLOCAL<br>
npm ERR! Could not install from "Apud\AppData\Roaming\npm-cache_npx\17028" as it does not contain a package.json file.</p>
<p dir="auto">npm ERR! A complete log of this run can be found in:<br>
npm ERR!     C:\Users\Fernando R. Apud\AppData\Roaming\npm-cache_logs\2023-06-20T23_23_00_727Z-debug.log<br>
La instalación de [ 'create-playwright@latest' ] fracasó con código 1</p>
<p dir="auto">Log:<br>
<a href="https://github.com/microsoft/playwright/files/11808972/2023-06-20T23_23_00_727Z-debug.log">2023-06-20T23_23_00_727Z-debug.log</a></p>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v18.17.0]</li>
<li>Operating System: [Windows 11]</li>
<li>Other info:</li>
</ul>
<p dir="auto">I have the the command npm init playwright@latest to install playwright but it is not giving success message and failing to install chromium<br>
Here is the error belo<br>
Failed to install browsers<br>
Error: Failed to download Chromium 115.0.5790.75 (playwright build v1071), caused by<br>
Error: Download failure, C:\Users\BhagyashriChaudari\AppData\Local\ms-playwright\chromium-1071\INSTALLATION_COMPLETE does not exist<br>
at ChildProcess. (C:\PIP\PlayWright\Practice\node_modules\playwright-core\lib\server\registry\browserFetcher.js:93:14)<br>
at ChildProcess.emit (node:events:514:28)<br>
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)<br>
Error: Command failed: npx playwright install<br>
at checkExecSyncError (node:child_process:885:11)<br>
at execSync (node:child_process:957:15)<br>
at executeCommands (C:\Users\BhagyashriChaudari\AppData\Local\npm-cache_npx\d352e76cc6b4974c\node_modules\create-playwright\lib\index.js:4519:39)<br>
at Generator.run (C:\Users\BhagyashriChaudari\AppData\Local\npm-cache_npx\d352e76cc6b4974c\node_modules\create-playwright\lib\index.js:4679:5)<br>
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)<br>
at async C:\Users\BhagyashriChaudari\AppData\Local\npm-cache_npx\d352e76cc6b4974c\node_modules\create-playwright\lib\index.js:4950:3 {<br>
status: 1,<br>
signal: null,<br>
output: [ null, null, null ],<br>
pid: 13084,<br>
stdout: null,<br>
stderr: null<br>
}<br>
npm ERR! code 1<br>
npm ERR! path C:\PIP\PlayWright\Practice<br>
npm ERR! command failed<br>
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-playwright</p>
<p dir="auto">npm ERR! A complete log of this run can be found in:</p>