Skip to content

cannot work with npm install --no-save #80

@ytianxia6

Description

@ytianxia6

I want to put it in pipeline with my c++ project, so I tried to install moxygen with command npm install --no-save moxygen, then I run the command npm run moxygen --anchors --groups --output api-%s.md doc\xml

I get the errors:

npm error code ENOENT
npm error syscall open
npm error path xxx\package.json
npm error errno -4058
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open xxx\package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent

Why it always need the file package.json

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