-
Notifications
You must be signed in to change notification settings - Fork 167
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
NPM version check failure #9004
Comments
Same error on flow-maven-plugin |
Hi. Which version is this with? The automatically installed node version will change to 12.18.3 in the next release versions. |
HI. I have used Vaadin 17.0.0 with the vaadin-maven-plugin 17.0.0 The complete log and stack trace is:
|
That is strange as the flags are the expected ones for npm as also the FrontendTools line is from the npm part for 4.0 (for 5.0 it would be node version check). Which linux distro and java sdk are you running? |
Hi, i am using Oracle JDK 14.0.2 on Ubuntu 20.04.
|
Dird you notice that line: (Line feed inserted manually)
That simply does not work.
This works:
But is using node to get the version of npm the right way? |
I guess the command should contain |
I can't reproduce this on Ubuntu 20.04 using Oracle JDK 14 and skeleton-starter. One possibility is that the |
Should be readable, but not executable...
|
The permissions look fine. However, I can't see any other possibility than that |
No security manager. |
A colleage also has this error, while I don't (for the same project), and one major difference is that I have Node (v10.13.0) locally installed, while in his case Vaadin downloads Node, as is also the case in this issue. |
Hi @RalfNaujokat, is there a chance that you are using NVM to install and manage NodeJS on your machine? Anyway, could you please create a symbolic link to the Node executable in |
Hi, I am using Vaadin 18 right now, and it looks ok now.
I can't see any version checking... |
When i am using a local installation (node 15.3.0), |
Meanwhile i am on JDK15.0.1 on Ubuntu 20.10 |
So basically that means the problem resolved by upgrading to V18 and all is good there, right? |
Yes, as far as i can see, the problem is gone. |
Got the same error on Ubuntu 20.10 and Vaadin 19. Fixed by installing nodejs and npm. |
The plugin tries to verify the version of npm,
but uses node for this. That is failing of course.
BTW: The current Node LTS is 12.18.3
The text was updated successfully, but these errors were encountered: