-
Notifications
You must be signed in to change notification settings - Fork 161
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
flow-maven-plugin might not work with new Node versions #4888
Comments
Refer to the Node support document. In short: LTS Node versions are supported, currently 8.x and 10.x. Node version 11 is not LTS, and is not guaranteed to work |
I'm having similar problem with vaadin-maven-plugin, but I'm not sure if it is related to this issue. Bundling for production with node 8.9.0 x64 on windows works without errors (also behind a corporate proxy), but using LTS version 10.15.2 gives "ReferenceError: internalBinding is not defined" error. Full log is attached. Plugin is configured like so:
|
There was a support ticket, in which there was an error when he tried to deploy the application with the Maven profile
productionMode
.He was behind a corporate firewall/proxy.
His configuration was correct, using
<autodetectTools>true</autodetectTools>
and<ignoreMavenProxies>false<ignoreMavenProxies>
. He also defined the proxy configuration in thesettings.xml
file of maven and in the.yarnrc
and.npmrc
files.According to him, the nodejs-Version was the problem:
"I found out, that the nodejs-Version was the problem. I used nodejs-11 and had all the problems. Now I switched back to nodejs-8.11.1 and all the problems vanished."
It would be nice to check this, or at least save this issue as a reference just if this happens again in the future.
The text was updated successfully, but these errors were encountered: