Skip to content

Multiple issues after installation #41

@JoshuaDietz

Description

@JoshuaDietz

Hello,
this probably needs to be split into multiple issues later. After installation I had a few issues which I had to work around and I first wanted to know if I'm the only one having these issues or if there are bugs which need to be fixed:

I Installed OpenDocumenter with the line from the instructions npm install -g opendocumenter
Running OpenDocumenter was only possible with the fix from #19

Then I ran it with opendocumenter --schema=./path-to-my-schema --output=./path-to-out-dir
I received !!! Aborting due to error: ENOENT: no such file or directory, lstat 'package.json' so I added a basic package.json to the folder containing my schema (even though I don't get why this is necessary).

The next error I got was `sh: line 1: vue-cli-service: command not found

!!! Aborting due to error: Shell command exit with non zero code: 127`

which I fixed with npm i -g @vue/cli-service and npm i -g vue-template-compiler

Now the OpenDocumenter seems to build the documentation. But when serving it via a local webserver (running from file won't work due to same origin policy) the browser console reports Uncaught (in promise) TypeError: t.tags is undefined

That's my current status.

I'm posting this to ask if anyone else has these issues and if so to share the steps which fixed some of the issues for me.

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