Skip to content

[BUG] npm init playwright fails on path spaces #9261

@sahmeepee

Description

@sahmeepee

Context:

  • Playwright Version: 1.15.1
  • Operating System: Windows 10
  • Node.js version: 12.19.0
  • Browser: n/a
  • Extra: [any specific details about your environment]

Code Snippet

mkdir "c:\temp\project with spaces"
cd "c:\temp\project with spaces"
npm init playwright myprojectname

Describe the bug

This command fails if there is a space anywhere in the path with an error "failed to install browsers" because it looks for a directory (e.g. "c:\temp\project") which doesn't exist.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions