Skip to content

ReferenceError: window is not defined #29

@vaughanwatson

Description

@vaughanwatson

ENVIRONMENT: Windows 7, node v6.11.3 npm v3.10.10

When typing miso run the following error message comes up.

Touching system/main.js
PATH-TO-PROJECT-DIRECTORY\node_modules\mithril\mithril.js:374
var requestService = _8(window, PromisePolyfil)

ReferenceError: window is not defined
at PATH-TO-PROJECT-DIRECTORY\node_modules\mithril\mithril.js:374:25
at Object.(anonymous) ( PATH-TO-PROJECT-DIRECTORY\node_modules\mithril\mithril.js:1243:2)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.(anonymous) ( PATH-TO-PROJECT-DIRECTORY\system\index.js:11:6)

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