Skip to content

json-machete:0.9.0 breaks on Windows when loading local files #4094

Closed
@zbowyer20

Description

@zbowyer20

For instance, when importing a local schema:

Failed to generate the schema Error: Unable to load src/mesh-data-sources/schemas/yocuda.yaml from C:\Users\User\Work\Software\yggdrasil
    at C:\Users\User\Work\Software\yggdrasil\node_modules\json-machete\index.js:301:35
    at runNextTicks (node:internal/process/task_queues:61:5)
    at listOnTimeout (node:internal/timers:526:9)
    at processTimers (node:internal/timers:500:7)
    at async dereferenceObject (C:\Users\User\Work\Software\yggdrasil\node_modules\json-machete\index.js:294:40)
    at async dereferenceObject (C:\Users\User\Work\Software\yggdrasil\node_modules\json-machete\index.js:397:32)
    at async dereferenceObject (C:\Users\User\Work\Software\yggdrasil\node_modules\json-machete\index.js:397:32)
    at async dereferenceObject (C:\Users\User\Work\Software\yggdrasil\node_modules\json-machete\index.js:397:32)
    at async Object.dereferenceObject (C:\Users\User\Work\Software\yggdrasil\node_modules\json-machete\index.js:397:32)
    at async getDereferencedJSONSchemaFromOperations (C:\Users\User\Work\Software\yggdrasil\node_modules\@omnigraph\json-schema\index.js:274:35)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions