flow icon indicating copy to clipboard operation
flow copied to clipboard

npm taken from global installation instead of .vaadin installed

Open caalador opened this issue 2 years ago • 0 comments

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 avatar Oct 14 '22 09:10 caalador