Skip to content

Unknown command: version in vuepress #22

@jeevan15498

Description

@jeevan15498

Hello

I am using vuepress Versioning Plugin. like this way

Install plugin in the vuepress project folder project/

npm i -D vuepress-plugin-versioning

And then modify project/.vuepress/config.js file

// project/.vuepress/config.js
module.exports = {
  plugins: ['versioning']
}

When I run this command. Showing error

vuepress version docs 1.0.0
Unknown command: version docs 1.0.0

tip Did you miss to specify the target docs dir? e.g. vuepress version [targetDir].
tip A custom command registered by a plugin requires VuePress to locate your site configuration like vuepress dev or vuepress build.

Project Structure

└─ project
   ├─ .vuepress
   |  └─ config.js
   ├─ node_modules
   ├─ pages
     └─ README.md

Environment Info:

System:
OS: Windows 8.1 6.3.9600
CPU: (4) x64 Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz
Binaries:
Node: 10.16.3 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
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