Skip to content

window is not defined #130

@markb-trustifi

Description

@markb-trustifi

Cannot run this library on node.js because of the window.UDOC.

The workaround is:

const SandboxedModule = require('sandboxed-module');
const UTIF = SandboxedModule.require('utif', {
    globals: {window: {}}
});

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