Skip to content

[linux] Unknown command: vuepress #2337

@avimehenwal

Description

@avimehenwal
  • I confirm that this is an issue rather than a question.

Bug report

After fresh installation, unable to run vuepress command on linux

~/R/vuepress-starter ❯❯❯ yarn global list
yarn global v1.22.4
warning package.json: No license field
info "@vue/cli@4.2.3" has binaries:
   - vue
info "vuepress@1.4.1" has binaries:
   - vuepress
Done in 1.42s.
~/R/vuepress-starter ❯❯❯ vuepress
fish: Unknown command: vuepress

Steps to reproduce

  1. On linux, yarn global add vuepress
  2. then vuepress

Linux OS details

Linux parrot 5.4.0-4parrot1-amd64 #1 SMP Parrot 5.4.19-4parrot1 (2020-02-27) x86_64 GNU/Linux
Distributor ID: Parrot
Description:    Parrot GNU/Linux 4.8
Release:        4.8
Codename:       n/a

What is expected?

vuepress CLI should get installed and work properly

What is actually happening?

vuepress CLI is not know by system

Other relevant information

  • Output of npx vuepress info in my VuePress project:
Environment Info:

  System:
    OS: Linux 5.4 Parrot GNU/Linux 4.8 4.8
    CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  Binaries:
    Node: 12.16.2 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
  Browsers:
    Chrome: 81.0.4044.92
    Firefox: 74.0.1
  npmPackages:
    @vuepress/core: Not Found
    @vuepress/theme-default: Not Found
    vuepress: Not Found
  npmGlobalPackages:
    vuepress: Not Found

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