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

flow-maven-plugin might not work with new Node versions #4888

Closed
DiegoSanzVi opened this issue Dec 19, 2018 · 2 comments
Closed

flow-maven-plugin might not work with new Node versions #4888

DiegoSanzVi opened this issue Dec 19, 2018 · 2 comments
Milestone

Comments

@DiegoSanzVi
Copy link
Contributor

DiegoSanzVi commented Dec 19, 2018

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 the settings.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.

@web-padawan
Copy link
Member

web-padawan commented Dec 19, 2018

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

@igormilina
Copy link

igormilina commented Mar 5, 2019

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:

	<plugin>
		<groupId>com.vaadin</groupId>
		<artifactId>vaadin-maven-plugin</artifactId>
		<version>12.0.7</version>
		<configuration>
			<nodePath>c:/Program Files/nodejs/node-10.15.2/node.exe</nodePath>
			<autodetectTools>true</autodetectTools>
			<ignoreMavenProxies>false</ignoreMavenProxies>
		</configuration>
		...

errorlog.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants