chrisyip / koa-pug

A Pug middleware for Koa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Map is not defined

divmgl opened this issue · comments

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)

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

I'm using v0.11.14...

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

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