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

Unexpected strict mode reserved word #32

Closed
hemanth opened this issue Aug 11, 2014 · 1 comment
Closed

Unexpected strict mode reserved word #32

hemanth opened this issue Aug 11, 2014 · 1 comment

Comments

@hemanth
Copy link
Member

hemanth commented Aug 11, 2014

Running in strict mode

/koa-rest/node_modules/koa-static/index.js:36
    return function *static(next){
                     ^^^^^^
SyntaxError: Unexpected strict mode reserved word
    at exports.runInThisContext (vm.js:69:16)
    at Module._compile (module.js:432:25)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:349:32)
    at Function.Module._load (module.js:305:12)
    at Module.require (module.js:357:17)
    at require (module.js:373:17)
    at Object.<anonymous> (/Users/hemanth/labs/live-mongo/server/koa-rest/app.js:5:13)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)

//cc @jonathanong

@jonathanong
Copy link
Member

pretty sure you just need to update

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