Skip to content

window is not defined #67

@squidCatx

Description

@squidCatx

path/Effect.Aff/foreign.js:532
throw util.fromLeft(step);
^

ReferenceError: window is not defined
at exports.window (path/Web.HTML/foreign.js:4:3)
at path/Effect/foreign.js:12:16
at path/Effect/foreign.js:12:16
at __do (path/Halogen.Aff.Util/index.js:36:183)
at runAsync (path/Effect.Aff/foreign.js:98:20)
at run (path/Effect.Aff/foreign.js:333:22)
at path/Effect.Aff/foreign.js:639:15
at drain (path/Effect.Aff/foreign.js:120:9)
at Object.enqueue (path/Effect.Aff/foreign.js:141:11)
at Object.run (path/Effect.Aff/foreign.js:638:23)

Node.js v17.2.0

should we use globalThis instead of window ?

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