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

Engines to >= 4 #45

Closed
tolmasky opened this issue Jan 29, 2016 · 1 comment
Closed

Engines to >= 4 #45

tolmasky opened this issue Jan 29, 2016 · 1 comment

Comments

@tolmasky
Copy link

Was taking a look at this: #4

The reason tonic uses node 0.12 is because the engines variable isn't set in parse-server's package.json. If you set engines: { node: ">= 4" } then Tonic will appropriately choose node 4 and the syntax error won't happen. Given that the package expects ES6 to be natively present this seems like the right engine. An alternative is to have a pre-publish step that babel-ifies the code so that it can work on any node.

Thanks,

Francisco

@gfosco
Copy link
Contributor

gfosco commented Jan 29, 2016

Fixed, thanks. This tag was in the server-example but not here. 👍

@gfosco gfosco closed this as completed Jan 29, 2016
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