Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bebraw opened this issue Sep 10, 2015 · 0 comments
Open

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

bebraw opened this issue Sep 10, 2015 · 0 comments

Comments

@bebraw
Copy link

bebraw commented Sep 10, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant