flowery icon indicating copy to clipboard operation
flowery copied to clipboard

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

Open bebraw opened this issue 10 years ago • 0 comments

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.

bebraw avatar Sep 10 '15 10:09 bebraw