Can't install Java plugin for Heroku

I’m following the Vaadin flow tutorial and I’m stuck at setting up production deployment with Heroku. Whenever I run the heroku plugins:install java command, it gives me an error and does not install.

I screenshotted an image of the error message. Any idea what I should do? I already tried reinstalling Heroku and updating my versions.

It seems you might have some issue with the heroku plugin. Maybe you can try re-installing it to see if that works. You could also try updating your node version

Check out Running a Vaadin Application on Heroku - Learn to Code with Simon Martinelli

Updating the node version worked for me, thank you!