docma icon indicating copy to clipboard operation
docma copied to clipboard

The term 'docma' is not recognized as the name of a cmdlet.

Open iWanheda opened this issue 4 years ago • 1 comments

Hi, I installed docma with

npm install docma -D

(doesn't create anything) and whenever I want to run docma I get that error.

image

Image

iWanheda avatar Apr 15 '21 04:04 iWanheda

You might not be familiar with how npm works at all.

If you install docma as devDependencies, you can only run it via npm run-command or npx.

to run docma with npm run-command, you can add it to scripts in your package.json:

"script": {
    "doc": "docma command here"
}

To run it with npx, use:

$ npx docma

takase1121 avatar Sep 17 '21 03:09 takase1121