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

Strict mode compatibility issue. #14

Closed
dead1 opened this issue Jan 28, 2014 · 1 comment
Closed

Strict mode compatibility issue. #14

dead1 opened this issue Jan 28, 2014 · 1 comment

Comments

@dead1
Copy link

dead1 commented Jan 28, 2014

When trying to run hello world with

node --harmony --use_strict app.js

I get

/home/user/node_modules/koa/node_modules/koa-compose/index.js:98
    console.log('  \033[1m%d | \033[0m<< \033[36m%s\033[0m', this._level, name
                                                    ^^
SyntaxError: Octal literals are not allowed in strict mode.
@tj
Copy link
Member

tj commented Jan 28, 2014

ah lame yeah they're stupid and got rid of \0 for whatever reason

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