Skip to content

Unable to install OpenDocumenter globally (ENOENT no such file or directory, chmod 'C:\Users\user\AppData\Roaming\npm\node_modules\opendocumenter\src\cli.js') #19

@blake-mealey

Description

@blake-mealey

Describe the bug
Unable to install opendocumenter on Windows or WSL Ubuntu.

I have tried:

  • npx opendocumenter
  • npm i -g opendocumenter
  • sudo npm i -g opendocumenter
  • npm i --ignore-scripts -g opendocumenter

on both WSL Ubuntu and Windows 10

To Reproduce
Steps to reproduce the behavior:

  1. Run one of the above commands
  2. See error

Expected behavior
opendocumenter is installed

Desktop:

  • OS: Windows 10
  • Version: 0.5.0

Additional context
Logs:

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path C:\Users\blakemealey\AppData\Roaming\npm\node_modules\opendocumenter\src\cli.js
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\blakemealey\AppData\Roaming\npm\node_modules\opendocumenter\src\cli.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

When I tried npm i --ignore-scripts -g opendocumenter the install was successful, but when I tried running the CLI I got:

opendocumenter: The term 'opendocumenter' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

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