Skip to content

Wrong path, no_modules error when folder already exists when ui creating project #5318

@martixy

Description

@martixy

Version

4.2.3

Environment info

Environment Info:

  System:
    OS: Windows 10 10.0.18363
    CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
  Binaries:
    Node: 13.8.0 - C:\Web\nodejs\node.EXE
    Yarn: 1.22.4 - C:\Web\Yarn\bin\yarn.CMD
    npm: 6.13.6 - C:\Web\nodejs\npm.CMD
  Browsers:
    Edge: 44.18362.449.0
  npmGlobalPackages:
    @vue/cli: Not Found [That's cuz it's a yarn global package.]

Steps to reproduce

I was trying to create a new project in a folder that already exists - thru vue ui.

If the folder doesn't exists - no problems. If it does - trouble.

What is expected?

No errors, correct path, working ui.

What is actually happening?

Lets say the folder is ~/foo
It warns me that the folder already exists and then goes to try to create the project in ~/foo/foo.

The "Overwrite target folder if it exists" setting has absolutely no effect.

At the end it gives me Error: NO_MODULES and the ui hangs at the last step.

Not sure what vue ui does, but vue create . works perfectly well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs team reproWe acknowledged your report and will soon try to reproduce itscope: ui

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions