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

Map is not defined #5

Closed
divmgl opened this issue Dec 14, 2014 · 4 comments
Closed

Map is not defined #5

divmgl opened this issue Dec 14, 2014 · 4 comments

Comments

@divmgl
Copy link

divmgl commented Dec 14, 2014

Just installed Koa-Jade and I'm getting this error:

, compilers = new Map()
                  ^
ReferenceError: Map is not defined
    at new Jade (/node_modules/koa-jade/index.js:74:23)
@chrisyip
Copy link
Owner

As this badge says: you have to use node >= 0.11.9 to make all functions work.

screen shot 2014-12-14 at 3 27 10 pm

@divmgl
Copy link
Author

divmgl commented Dec 15, 2014

I'm using v0.11.14...

@chrisyip
Copy link
Owner

@divmgl try running node --harmony -e 'console.log(Map)' in Terminal, see what it outputs.

@divmgl
Copy link
Author

divmgl commented Dec 20, 2014

@chrisyip I found the issue, it was with nodemon. Sorry for this!

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

2 participants