Skip to content

When running through Node 0.10, getting "Promise is not defined" #4

@bebraw

Description

@bebraw

Here's the output for Node 0.10:

flow_app/node_modules/flowery/build/flowery.js:185
    return new Promise(function (resolve, reject) {
               ^
ReferenceError: Promise is not defined
    at readStdin (flow_app/node_modules/flowery/build/flowery.js:185:13)
    at Object.<anonymous> (flow_app/node_modules/flowery/build/flowery.js:109:2)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:935:3

Looks like you might want to shim Promise to make it work.

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