Skip to content

[bug]: yarn create @magento/pwa stuck at first question on Windows #2342

Open
@fahadjabbar8

Description

Describe the bug
When i am trying to use the cli command yarn create @magento/pwa its is stuck in the first question and giving error for almost any string address i provide Invalid directory path; contains illegal characters.

To reproduce
Steps to reproduce the behavior:

  1. Go to windows PC install all dependencies mentioned latest python, node , yarn
  2. Now to setup this project move a sample directory i tried D:\Projects
  3. Run yarn create @magento/pwa
  4. After Installing create-pwa 1.0 with binaries it is stuck at first question for any thing i type as directory
  5. I tries test , ../test , anything it is keep on giving the error Invalid directory path; contains illegal characters

Expected behavior
Should run to next question as it is a valid path.Something other is happening

Screenshots
Screenshot (28)
Screenshot (29)
Screenshot (30)

  • Device PC
  • OS Windows 10
  • NPM version :6.4.1
  • yarn version :1.16.0
  • Node Version : 10.15.3
    -Python : 3.8.2

Please let us know what packages this bug is in regards to:

  • create-pwa

Guidance

Copied from my comment below:

Thanks for the input @jissereitsma! We would welcome a contribution (from anyone 😄) that:

Doing the above will at least remedy the issue which @jissereitsma noted may prevent at least this line from executing in Windows. That said, I'm not sure if the app will function even if you get it to scaffold. Still, we should avoid non-maintained dependencies so I think this is a good idea.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions