NPM version for building the web app

elvin9 months ago

Hi,

What's the recommended NPM version needed for building the modern webapp I have a feeling this is a version issue but I might be wrong

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sharp@0.32.6 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.32.6 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/elvin/.npm/_logs/2024-03-04T11_41_19_163Z-debug.log
elvin@DESKTOP-PRFDOM4:/mnt/c/Dev/traccar/traccar-web/modern$ npm version
{
  traccar: '5.12.0',
  npm: '6.14.4',
  ares: '1.16.0',
  brotli: '1.0.7',
  cldr: '36.1',
  icu: '66.1',
  llhttp: '2.0.4',
  modules: '83',
  napi: '6',
  nghttp2: '1.40.0',
  node: '14.0.0',
  openssl: '1.1.1f',
  tz: '2019c',
  unicode: '13.0',
  uv: '1.37.0',
  v8: '8.1.307.30-node.30',
  zlib: '1.2.11'
}
elvin9 months ago

apologies saw the logs looks it need 14.15.0 and above node version