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

npm taken from global installation instead of .vaadin installed #14839

Closed
caalador opened this issue Oct 14, 2022 · 1 comment · Fixed by #14840
Closed

npm taken from global installation instead of .vaadin installed #14839

caalador opened this issue Oct 14, 2022 · 1 comment · Fixed by #14840

Comments

@caalador
Copy link
Contributor

caalador commented Oct 14, 2022

Description of the bug

[INFO] The globally installed Node.js version 14.19.0 is older than the required minimum version 16.14.0. Using Node.js from /root/.vaadin.
[DEBUG] Using node 16.17.1 located at /root/.vaadin/node/node
[DEBUG] Using npm 6.14.16 located at /usr/bin/npm

Expected behavior

As node is used as vaadin installed, then also npm is used from there and not the global one.

Minimal reproducible example

globall install old node, run application with 23.2-SNAPSHOT+

Versions

  • Vaadin / Flow version: 23.2+
  • OS: Unix
@caalador caalador added this to Needs triage in OLD Vaadin Flow bugs & maintenance (Vaadin 10+) via automation Oct 14, 2022
@caalador caalador self-assigned this Oct 14, 2022
caalador added a commit that referenced this issue Oct 14, 2022
Fix so that if we have a usable old
node installation we check the correc
path for npm script.

Fixes #14839
OLD Vaadin Flow bugs & maintenance (Vaadin 10+) automation moved this from WIP to Closed Oct 17, 2022
mshabarov pushed a commit that referenced this issue Oct 17, 2022
Fix so that if we have a usable old
node installation we check the correc
path for npm script.

Fixes #14839
vaadin-bot pushed a commit that referenced this issue Oct 17, 2022
Fix so that if we have a usable old
node installation we check the correc
path for npm script.

Fixes #14839
vaadin-bot pushed a commit that referenced this issue Oct 17, 2022
Fix so that if we have a usable old
node installation we check the correc
path for npm script.

Fixes #14839
caalador added a commit that referenced this issue Oct 17, 2022
Fix so that if we have a usable old
node installation we check the correc
path for npm script.

Fixes #14839

Co-authored-by: caalador <mikael.grankvist@vaadin.com>
caalador added a commit that referenced this issue Oct 17, 2022
Fix so that if we have a usable old
node installation we check the correc
path for npm script.

Fixes #14839

Co-authored-by: caalador <mikael.grankvist@vaadin.com>
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 23.2.6.

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

Successfully merging a pull request may close this issue.

2 participants