Skip to content

Cannot find file #40

@sebastiankessel

Description

@sebastiankessel

When attempting to "Preview" (In browser, panel or anything else) in MacOS Monterey a File not Found error (see below). The files are in their proper directory. In fact, ctrl-click on the reference on the yml itself sends me to the proper reference.

Folder

image

Expanding the "Common" folder

image

Sample line on how the reference is coded

$ref: 'domain/common/elemental-types.yml#/components/schemas/person-name-info'

Error Message


There was an error while processing your files. Please fix the error and save the file.


{
"errno": -2,
"code": "ENOENT",
"syscall": "open",
"path": "///Users/sebastiankessel/IdeaProjects/CodeScience/XXX/domain/domain/common/elemental-types.yml",
"name": "Error",
"message": "Error opening file \"///Users/sebastiankessel/IdeaProjects/CodeScience/XXX/domain/domain/common/elemental-types.yml\"
ENOENT: no such file or directory, open '///Users/sebastiankessel/IdeaProjects/CodeScience/XXX/domain/domain/common/elemental-types.yml'",
"stack": "Error: Error opening file \"///Users/sebastiankessel/IdeaProjects/CodeScience/XXX/domain/domain/common/elemental-types.yml\"
ENOENT: no such file or directory, open '///Users/sebastiankessel/IdeaProjects/CodeScience/XXX/domain/domain/common/elemental-types.yml
 at ReadFileContext.callback (/Users/sebastiankessel/.vscode/extensions/philosowaffle.openapi-designer-0.3.0/node_modules/json-schema-ref-parser/lib/resolvers/file.js:52:20
 at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:273:13
\nError: ENOENT: no such file or directory, open '///Users/sebastiankessel/IdeaProjects/CodeScience/XXX/domain/domain/common/elemental-types.yml'"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions