Vue-cli: "@vue/[email protected]" has no binaries

Created on 23 Jun 2018  路  2Comments  路  Source: vuejs/vue-cli

Version

3.0.0-rc.3

Reproduction link

http://invalid.org

Steps to reproduce

npm install -g [email protected]
yarn global add @vue/cli-service-global
vue serve

What is expected?

vue to serve on loclhost:**

What is actually happening?

C:\Users\Aaron\Tests\VueJS\infinite-scroll-vuejs>vue serve

Command vue serve requires a global addon to be installed.
Please run yarn global add @vue/cli-service-global and try again.


it appears Windows is stuck behind as usual.

Most helpful comment

If anybody come up here, use yarn global add @vue/cli ref : https://cli.vuejs.org/guide/installation.html

All 2 comments

You are installing the Vue core library used in web pages instead of the cli.
Please uninstall it with npm uninstall -g vue and follow the instructions to install the cli:
https://cli.vuejs.org/guide/creating-a-project.html#installation

If anybody come up here, use yarn global add @vue/cli ref : https://cli.vuejs.org/guide/installation.html

Was this page helpful?
0 / 5 - 0 ratings