google / ioweb2016

I/O web app 2016
https://events.google.com/io2016
Apache License 2.0
517 stars 87 forks source link

error while compiling #1015

Closed arangates closed 7 years ago

arangates commented 8 years ago

screenshot from 2016-06-09 23-29-04

SyntaxError: Unexpected strict mode reserved word

brendankenny commented 8 years ago

What version of node are you using? That looks like the old v8 failure message before a number of es6 features (like let) were turned on by default. A number of es6 features are used in the project (even in just the gulpfile), so you'll need to update if you want to build.

Building will definitely work with Node 5 and later (just tried it). nvm can help with running multiple versions of node on one machine if you need to keep the older version around for other purposes.

brendankenny commented 8 years ago

@ebidel maybe we can add a minimum node version to the list of requirements?

ebidel commented 8 years ago

Doesn't https://github.com/GoogleChrome/ioweb2016/blob/master/package.json#L9 warn or something?

brendankenny commented 8 years ago

That's for npm, not node, so I believe you only get a warning if ioweb was on npm and you did npm install ioweb2016

arangates commented 8 years ago

yeah, i updated node.now theres is problem in starting Go server screenshot from 2016-06-10 02-03-58

did i miss something?

ebidel commented 8 years ago

Looks like you have an older version of Go? https://github.com/GoogleChrome/ioweb2016#setup