Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Strict mode #7

@mobilars

Description

@mobilars

I guess this is a local installation problem here, but I'm using a fresh ubuntu to try to get this working so not sure quite what could be the problem. The google-search says something about adding strict-mode... I had to install nodejs-legacy to get it running, node -v returns version 4.7.2.

/usr/local/lib/node_modules/fhir-swagger/lib/schemas.js:10
for (let key in schema.properties) fixSchema(schema.properties[key]);
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/fhir-swagger/lib/conformance-to-swagger.js:2:17)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)

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