Skip to content

yarn error with vue create  #3994

@arthurmougin

Description

@arthurmougin

Version

3.7.0

Environment info

 System:
    OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  Binaries:
    Node: 8.10.0 - /usr/bin/node
    Yarn: 1.16.0 - /usr/local/bin/yarn
    npm: 3.5.2 - /usr/bin/npm
  Browsers:
    Chrome: 74.0.3729.108
    Firefox: Not Found
  npmGlobalPackages:
    @vue/cli: 3.7.0

Steps to reproduce

$ npm init
$ npm install @vue/cli
(? i may have used "yarn" in between)
$ vue create myproject

What is expected?

the create process appears

What is actually happening?

00h00m00s 0/0: : ERROR Error: Command failed: yarn config get registry
ERROR: [Errno 2] No such file or directory: 'config'

Error: Command failed: yarn config get registry
ERROR: [Errno 2] No such file or directory: 'config'

at makeError (/usr/local/lib/node_modules/@vue/cli/node_modules/execa/index.js:174:9)
at Promise.all.then.arr (/usr/local/lib/node_modules/@vue/cli/node_modules/execa/index.js:278:16)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)

this can be a setup process issue as I'm still learning the nodejs ecosystem. But it appeared every time I executed it wherever I installed vue in.

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