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

Set node and yarn version in package.json engines #270

Merged
merged 1 commit into from
May 18, 2018

Conversation

jkutner
Copy link
Contributor

@jkutner jkutner commented May 18, 2018

My JHipster Registry deploys are failing with Node 10+. If there is a way to say that you want the latest LTS version of node, that would probably be better, but I don't know of such a mechanism.

I've also added a Yarn engine version to ensure it aligns with what's in pom.xml.

@jdubois
Copy link
Member

jdubois commented May 18, 2018

Oh yes Node10 is a pain!

Copy link
Member

@jdubois jdubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also we need Node 8+

@jkutner
Copy link
Contributor Author

jkutner commented May 18, 2018

@jdubois you want "node": ">=8.2.11 <10"?

@jdubois
Copy link
Member

jdubois commented May 18, 2018

Yes please

@jkutner
Copy link
Contributor Author

jkutner commented May 18, 2018

@jdubois done

@PierreBesson
Copy link
Contributor

@jkutner could you do a similar change on the generator ?

@pascalgrimaud
Copy link
Member

mhhh not sure about the generator, as Node 10 will become forbidden when using JHipster.

@PierreBesson
Copy link
Contributor

Well that's true but in this case the heroku subgen will be broken.

@jkutner
Copy link
Contributor Author

jkutner commented May 18, 2018

@PierreBesson a fresh JHipster app created with start.jhipster.tech and then pushed to Heroku with jhipster heroku works. I'm not sure why the Registry is breaking though.

@jkutner
Copy link
Contributor Author

jkutner commented May 18, 2018

@jdubois @PierreBesson i'll do whatever you decide with the generator, but can we merge this PR in advance? The "Deploy to Heroku" button is broken because Heroku tries to install Node 10.

@PierreBesson PierreBesson merged commit f8eb3e1 into jhipster:master May 18, 2018
@jdubois
Copy link
Member

jdubois commented May 19, 2018

Thanks @PierreBesson for merging it.
@jkutner I hope it's good for you! I realize you don't have the commit rights, you should have them!!

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

Successfully merging this pull request may close these issues.

None yet

4 participants