Skip to content

Vue-cli generators give an error when creating a project whose path contains spaces #742

Closed
@mrg0lden

Description

@mrg0lden

Version

3.0.0-alpha.4

Reproduction link

https://github.com/mrg0lden/vue-cli-bug

Steps to reproduce

Make a folder with spaces in its name, inside it, use vue create, now you got it.

What is expected?

To work properly.

What is actually happening?

Gives an error: ERROR Error: ENOENT: no such file or directory, scandir 'F:\Coding Zone - منطقة الترميز\الترميز\test\node_modules@vue\cli-service\generator\template'


hint: actual directory should be : "F:\Coding Zone - منطقة الترميز\test\node_modules@vue\cli-service\generator\template"

but for some strange reason, "الترميز" got duplicated.

I also tried to make a project whose parent folder's name is written in Arabic without spaces, and it worked like a charm!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions