Skip to content

Vue ui fails to create locales directories #6784

Open
@clubh

Description

@clubh

Version

5.0.0-beta.7

Reproduction link

http://github/not-applicable

Environment info

  System:
    OS: macOS 11.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Binaries:
    Node: 17.0.1 - /usr/local/bin/node
    Yarn: Not Found
    npm: 8.1.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 95.0.4638.54
    Edge: Not Found
    Firefox: 91.0.2
    Safari: 15.0
  npmPackages:
    @intlify/vue-devtools:  9.2.0-beta.15
    @vue/compiler-core:  3.2.20
    @vue/compiler-dom:  3.2.20
    @vue/compiler-sfc:  3.2.20
    @vue/compiler-ssr:  3.2.20
    @vue/devtools-api:  6.0.0-beta.19
    @vue/reactivity:  3.2.20
    @vue/ref-transform:  3.2.20
    @vue/runtime-core:  3.2.20
    @vue/runtime-dom:  3.2.20
    @vue/server-renderer:  3.2.20
    @vue/shared:  3.2.20
    vue:  3.2.20
    vue-i18n: ^9.2.0-beta.15 => 9.2.0-beta.15
  npmGlobalPackages:
    @vue/cli: 4.5.14

Steps to reproduce

Whenever I start vue ui, it immediately fails with:

errno: -2,
syscall: 'scandir',
code: 'ENOENT',
path: '/Users/username/www/vue/Real-World_Vue-3/node_modules/@vue/cli-service/locales'

What is expected?

Vue ui to spin up

What is actually happening?

Vue ui fails with "Disconnected from UI server"


It is possible to fix the issue, by manually creating all the missing directories.

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