Skip to content

Error when run UI #3800

Closed
Closed
@orblazer

Description

@orblazer

Version

3.6.0

Environment info

System:
    OS: Linux 5.0 Antergos Linux
    CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
  Binaries:
    Node: 11.14.0 - /usr/bin/node
    Yarn: 1.15.2 - /usr/bin/yarn
    npm: 6.9.0 - /usr/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 66.0.3
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

  1. Install Vue CLI with yarn global add @vue/cli
  2. Run Vue CLI UI with vue ui

What is expected?

Run the ui correctly

What is actually happening?

Run with an error

The error :

 ERROR  TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
/home/orblazer/.config/yarn/global/node_modules/@vue/cli-ui/apollo-server/util/rcFolder.js:1
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:125:11)
    at Proxy.resolve (path.js:978:7)
    at Object.<anonymous> (/home/orblazer/.config/yarn/global/node_modules/@vue/cli-ui/apollo-server/util/rcFolder.js:16:10)
    at Generator.next (<anonymous>)

When i run the ui in develoment this is work (with cmd: vue ui -D)

Metadata

Metadata

Assignees

No one assigned

    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